Adobe Launch File throwing errors on buy flow but not homepage | Adobe Higher Education
Skip to main content
November 4, 2024
解決済み

Adobe Launch File throwing errors on buy flow but not homepage

  • November 4, 2024
  • 3 の返信
  • 798 ビュー

We are currently switching from legacy DETM implementation of data collection. When testing our property using adobe debugger, we have the property fully loaded and no errors on the home page, but as soon as we click into buyflow we get errors thrown in the "launch-environment-id.js" file. Specifically when the launch file is trying to perform a split function on the environment variables. when i fetch the environment manually on console "development" is shown, which is correct, but what could be the issue that would cause the "e" variable in the build file to be undefined? Thanks in advance!

このトピックへの返信は締め切られました。
ベストアンサー RiteshY18

@janisgr  suggest to look into 

 

  • The script may be referencing an incorrect or non-existent environment ID.
  • browser may block the script due to CORS policy violations
    • Network tab and filter by JavaScript or search for the launch-environment-id.js file.
    • HTTP status code (e.g., 404 for not found, 403 for forbidden).

3 の返信

RiteshY18
Community Advisor
RiteshY18Community Advisor回答
Community Advisor
December 30, 2024

@janisgr  suggest to look into 

 

  • The script may be referencing an incorrect or non-existent environment ID.
  • browser may block the script due to CORS policy violations
    • Network tab and filter by JavaScript or search for the launch-environment-id.js file.
    • HTTP status code (e.g., 404 for not found, 403 for forbidden).
bjoern__koth
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
January 9, 2025

Hi @janisgr 

The launch-environment-id.js script is not really a part of Launch.

How are you testing it? Are you injecting the Launch script through the experience platform debugger side by side with DTM?

Cheers from Switzerland!
kautuk_sahni
Community Manager
Community Manager
January 20, 2025

@janisgr Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!

Kautuk Sahni