Splunk AppDynamics

REST API 500 invalid account

CommunityUser
Splunk Employee
Splunk Employee

Hi,

I have an issue with AppDynamics SaaS trying to access information about the Internal Applications through the REST API, i.e. DB Monitoring. I am trying the GET request as:

https://cubits2018040613280524.saas.appdynamics.com/controller/rest/applications/1

And I get the error:

<h1>500 Internal Server Error</h1>
<br/>Exception Id:8ae76c3f-3b4d-46e3-bea5-90cd2b52d7c3

The actual response code is:

500 Invalid Account : Principal [integ], Entity [Type:APPLICATION, id:1]

Same URL is working for my On Premise instance of AppDynamics, so what is the issue with SaaS? How can I read data about Application id 1 on SaaS?

Labels (3)
Tags (1)
0 Karma
1 Solution

CommunityUser
Splunk Employee
Splunk Employee

Well, I think I figured it out...

I send the call:

https://cubits2018040613280524.saas.appdynamics.com/controller/rest/applications/Database%20Monitori...

and I see the actual ID for the Database Monitoring app is 190697 for this SaaS instance.

I guess the Invalid account error has some other explanation, but what I am trying to do here is read the HRVs for the Database Monitoring app so that works for me know..

View solution in original post

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Well, I think I figured it out...

I send the call:

https://cubits2018040613280524.saas.appdynamics.com/controller/rest/applications/Database%20Monitori...

and I see the actual ID for the Database Monitoring app is 190697 for this SaaS instance.

I guess the Invalid account error has some other explanation, but what I am trying to do here is read the HRVs for the Database Monitoring app so that works for me know..

0 Karma

Yogesh_Chouk
Builder

Hi,

Glad to know that you were able to proceed on this.

Thanks,

Yogesh

0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...