11-10-2021 06:07 AM
When I try to get device-details from DNA-center
https://<dnaCenterUrl>/dna/intent/api/v1/device-detail?searchBy=<mac>&identifier=macAddress
I Get a JAVASCRIPT Transoform exception.
(Se below)
what to do?
w. regards
Nicklas
{
"executionId": "cd6a097d-91f1-4ff0-bf45-dde2af987ccd",
"statusCode": 500,
"errorResponse": {
"bapiErrorResponse": {
"bapiKey": "89b2-fb14-4f5b-b09b",
"bapiName": "Get Device Detail",
"bapiErrorCode": "",
"bapiErrorMessage": ""
},
"componentErrorResponse": [
{
"compId": "uuid5b434a98",
"compName": "Combine Output-Detail(Prod)",
"compErrorCode": "500",
"compErrorMessage": "cd6a097d-91f1-4ff0-bf45-dde2af987ccd | 38b66879-60c5-438a-8bf3-d6b758f42005 | 89b2-fb14-4f5b-b09b : ScriptProcessor Execution Failed with error: TypeError: Cannot set property \"location\" of undefined in <eval> at line number : 135 ",
"componentType": "JAVASCRIPT_TRANSFORM"
}
]
}
}
11-10-2021 07:42 AM
What version of DNAC are you running? Are you executing this via the 'try now' within the DNAC UI?
11-10-2021 08:30 AM
11-10-2021 08:38 AM
11-11-2021 12:35 AM
Thanks for the suggestion.
Have done that and now I get this error for some of the devices, but not for all, so the error seems to occur based on the state of a device in some way.
The version is as follows
Installed Applications
Cisco DNA Center Core
Automation - Base
2.1.388.60445
Cisco DNA Center Global Search
1.6.99.10
Cisco DNA Center UI
1.6.3.155
Cloud Connectivity - Data Hub
1.6.0.380
Cloud Connectivity - Tethering
2.13.1.4
Disaster Recovery
2.1.388.3600024
NCP - Base
2.1.388.60445
NCP - Services
2.1.388.60445
Network Controller Platform
2.1.388.60445
Network Data Platform - Base Analytics
1.6.1686
Network Data Platform - Core
1.6.1705
Network Data Platform - Manager
1.6.1662
Network Experience Platform - Core
2.1.388.60445
RBAC Extensions
2.1.388.190003
System Commons
2.1.388.60445
Automation
Application Hosting
1.7.0.2108120753
Application Policy
2.1.388.170155
Application Registry
2.1.388.170155
Application Visibility Service
2.1.388.170155
Cisco Umbrella
2.1.388.590077
Cloud Device Provisioning Application
2.1.388.60445
Command Runner
2.1.388.60445
Device Onboarding
2.1.388.60445
Image Management
2.1.388.60445
SD Access
2.1.388.60445
Stealthwatch Security Analytics
2.1.388.1090064
Wide Area Bonjour
2.4.364.75035
Assurance
AI Network Analytics
2.7.8.528
Assurance - Base
2.2.3.337
Assurance - Sensor
2.2.3.317
Automation - Intelligent Capture
2.1.388.60445
Automation - Sensor
2.1.388.60445
Machine Reasoning
2.1.388.210008
Path Trace
2.1.388.60445
Rogue And AWIPS
2.3.0.24
Outdated Applications
DNA Spaces Enabler Package
0.0.1
Policy Applications
Access Control Application
2.1.388.60445
AI Endpoint Analytics
1.5.0.226
Group-Based Policy Analytics
2.2.3.55
Programmability And Integrations
Cisco DNA Center Platform
1.6.1.126
DNA Center Core
Cloud Connectivity - Contextual Content
1.3.1.364
w. regards
Nicklas
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide