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!

Developer Spotlight with Brett Adams

In our third Spotlight feature, we're excited to shine a light on Brett—a Splunk consultant, innovative ...

Index This | What can you do to make 55,555 equal 500?

April 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...