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 Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...