11 Apr 202307:22 AM - edited 11 Apr 202308:11 PM
However, due to some factors then the interface might not be available and will cause some issues during instrumentation. You may face errors like "dtrum is undefined".
Here are some sanity checks we can perform to figure out why dtrum is not available:
If you see an error similar to this then we need to make sure that our configuration (dynatrace.config.js) is correct. Specifically, we need make sure that the js url is valid/correct and has a valid access tokens.
If the script is not inserted then you need to check the build logs for any errors.
- check if the js agent code is downloaded successfully by going to the networks tabs. The response should be http 200 (OK).
What to do next? After all the checks and we still see the same problem then you can provide the build logs (from #1) and the HAR file (from #2) to the support ticket (create a new ticket if none yet).