cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

getting 404 errors in dtagents.js file in one Agent

sponnada2
Organizer

hi All,

We are seeing 404 errors in dtagent.js file while checking with Support they told that RUM libraries are missing.Can anyone suggest how to restore these libraries or fix this issue?


Thanks

Shyamala



2 REPLIES 2

sebastian_kryst
DynaMight Leader
DynaMight Leader

This is because by default dynatrace is trying to serve js agent on root of site. Some of server configuration doesn’t allow such operation. Good practice is checking path of other js files. For example www.example.com/resources/js. Than in applications settings -> advanced you can set path on which agent will be injected. You should put there /resources/js/. This should solve your issue. If you will than see in devtools that dynatrace is trying to send data and you have 404 errors you should play with beacon path as well.

Sebastian


how to restore RUM missing libraries in one Agent?