Splunk AppDynamics

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

Gopal_Abbineni
New Member

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.

image.png

image.png

Labels (1)
0 Karma

iamryan
Community Manager
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
};

0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud's AI Assistant in Action Series: Onboarding New Hires & ...

This is the fifth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Now Playing: Splunk Education Summer Learning Premieres

It’s premiere season, and Splunk Education is rolling out new releases you won’t want to miss. Whether you’re ...

The Visibility Gap: Hybrid Networks and IT Services

The most forward thinking enterprises among us see their network as much more than infrastructure – it's their ...