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

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'url')

Gopal.Abbineni
Creator

Getting error message "Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'url')" on the console and breaking the APIs currently running. 

adrum-latest version: v:23.3.1.4273

I tried removing the app agent (adrum-latest.js) from index.html and application is working fine. please suggest any approach to handle these type of errors as this is causing crashing of the application.

GopalAbbineni_0-1689159449203.png

 

GopalAbbineni_0-1689101842237.png

 

1 REPLY 1

Ryan.Paredez
Community Manager

Hello @Gopal.Abbineni,

Just relaying some information I found here. 

Can you confirm if SPA2 is enabled in adrum configuration?

Please see this doc for the relevant configuration:
https://docs.appdynamics.com/appd/22.x/latest/en/end-user-monitoring/browser-monitoring/browser-real...

(you may need to adjust the documentation for your Controller version #)
config.spa = {
"spa2": true
};


Thanks,

Ryan, Cisco AppDynamics Community Manager




Found something helpful? Click the Accept as Solution button to help others find answers faster.

Liked something? Click the Thumbs Up button.



Check out Observabiity in Action

new deep dive videos weekly in the Knowledge Base.

Join Us On December 10
Learn how Splunk and AppDynamics are redefining observability


Register Now!

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here
Top Kudoed Authors