Expand my Community achievements bar.

Nomination window for the Adobe Community Advisor Program, Class of 2025, is now open!
SOLVED

Adobe Launch File throwing errors on buy flow but not homepage

Avatar

Level 1

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!

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 9

@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).

View solution in original post

3 Replies

Avatar

Correct answer by
Level 9

@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).

Avatar

Community Advisor

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!


Avatar

Administrator

@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