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!

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Announcing the General Availability of Splunk Enterprise Security 8.1!

We are pleased to announce the general availability of Splunk Enterprise Security 8.1. Splunk becomes the only ...

Developer Spotlight with William Searle

The Splunk Guy: A Developer’s Path from Web to Cloud William is a Splunk Professional Services Consultant with ...