cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2804
Views
0
Helpful
1
Replies

Getting error when trying to make a Smart API Call.

smartnetpro
Level 1
Level 1

I have got access token by doing following call.

https://cloudsso.cisco.com/as/token.oauth2?grant_type=client_credentials&client_id=<id>&client_secret=<secret>

 

Using this access token, I posted a GET request as follows:

https://apmx-stage.cisco.com/services/api/smart-accounts-and-licensing/v1/accounts/test.cisco.com/licenses

 

I get an error: 

Could not get any response. Screen shots attached. I verified SSL Certificates are fine. Attaching screenshot for the same too.

 

Appreciate some suggestion to resolve this issue.

Thanks,

Purvi

Screen Shot 2019-01-22 at 12.32.31 PM.png

 

Screen Shot 2019-01-22 at 12.10.45 PM.png

 

1 Reply 1

kcolberg
Cisco Employee
Cisco Employee

Hi,

First, the Smart Accounts and Licensing API is not a Support API - you may have better luck following the Support instructions for the API.

But I don't think tokens generated on production cloudsso.cisco.com token server will work on the stage API proxy at apmx-stage.cisco.com. The Code Snippets section of the Smart Accounts and Licensing API point to apx.cisco.com. Perhaps you'll have better luck using the prod API service.

But again, the Smart Accounts and Licensing API support team will be better able to help you out.

Regards,

Keith