Splunk AppDynamics

Access Swagger and Accounts API error

CommunityUser
Splunk Employee
Splunk Employee

Hi guys,

I'm trying to access AppDynamics REST API explorer using appdyninamic embedded swagger but I always get the following error in the browser console:

http://<server>:<port>/api-docs/index.html

 I'm using controller On Premise

Any idea what might go wrong?

Uncaught TypeError: Cannot read property 'getMockSignature' of undefined
at SwaggerOperation.getSignature (swagger.js:815)
at new SwaggerOperation (swagger.js:718)
at SwaggerResource.addOperations (swagger.js:496)
at SwaggerResource.addApiDeclaration (swagger.js:427)
at Object.response (swagger.js:376)
at Object.obj.complete (swagger.js:1400)
at k (jquery-1.8.0.min.js:2)
at Object.fireWith (jquery-1.8.0.min.js:2)
at y (jquery-1.8.0.min.js:2)
at XMLHttpRequest.d (jquery-1.8.0.min.js:2)

Labels (3)
0 Karma
1 Solution

CommunityUser
Splunk Employee
Splunk Employee

It turns out there's an hotfix, the json file was provided via "Support Portal"

Until controller upgraded, here is the workaround to patch live for an on-premise controller (on 4.3.x controller with attached rca_43.json).


The issue has been fixed from releases v4.3.8 onwards

View solution in original post

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi there,

A quick Google search on the 'getMockSignature' error retrieved this from GitHub: https://github.com/domaindrivendev/Swashbuckle/issues/100

Something about "Do not use generic models as action parameters. Instead create a derivated class that specifies the datatype."

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

We're experiencing the same error. Could you kindly tell us if there's is a patch for AppDynamics Version 4.3.5.8, build 5906?

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

It turns out there's an hotfix, the json file was provided via "Support Portal"

Until controller upgraded, here is the workaround to patch live for an on-premise controller (on 4.3.x controller with attached rca_43.json).


The issue has been fixed from releases v4.3.8 onwards

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 ...