cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2709
Views
5
Helpful
13
Replies

Access Denied

sgpowelluk
Level 1
Level 1

Hi All,

new to the SNTC APIs and am having a bit of difficulty getting access when I try and interface with the 'customer details' API. I believe I've assigned myself the appropriate access roles (e.g. API developer. I'm admin so believe I've assigned myself all roles) and manage to get a token generated using my client access ID and secret. When I attempt to use the token to query the Customer details API:-

 

https://apx.cisco.com/cs/api/v1/customer-info/customer-details

 

I get 403 Forbidden and 'access denied' response.

 

I'm using Postman at the moment to generate the requests, with Authorisation type set to Bearer token and token with the one generated in the first stage. 

 

I believe the token is and response is viewed as valid as I get a  use a valid token response if I change to the token to a made up value, so suspect it is purely authroisation.

 

Is someone able to assist and maybe check settings and logs?

 

Many thanks in advance for any help.

Regards

 

Steve

1 Accepted Solution

Accepted Solutions

This has been resolved as confirmed over private message

View solution in original post

13 Replies 13

Suchita Shewale
Cisco Employee
Cisco Employee

Hello Steve,

 

Can you give this a try again and let me know if you are still unable to run customer-details API?

 

Regards,

Suchita

Hi Suchita,

thanks for taking a look at this for me!

 

Unfortunately I don't see any difference when I try it again.

 

Your help appreciated.

Regards

 

Steve

I am sorry to know you are still having issues accessing Service API. For further troubleshooting I have sent you private message asking for some more details on your API set up.

Hey Suchita,
Many thanks for getting back to me!
The details you requested are shown below, as well as the API management screenshot:-

***edited out***


https://apx.cisco.com/cs/api/v1/customer-info/customer-details

Please let me know if you need anything else at this point.
Thanks again for your continued support.
Best Regards

Steve
________________________________
Subject: Service API - Access denied
From: Suchita Shewale
Date: 03-09-2020 08:18 AM
Hey Steve, I am sorry to know you are still having issues accessing API.
If you don't mind can you share following details so that I can troubleshoot this issue further?
Userid
API Application Name
Client ID
Client Secret

Regards,
Suchita
________________________________

Hi Suchita,

many thanks for coming back to me. I've seen and responded to your private message, so please let me know if you don't receive that or need further info.

Best Regards

 

Steve

This has been resolved as confirmed over private message

I having the same issue, can anyone help?

I am able to generate the token successfully, but calling the API using the same token is causing the 403 error.

Regards,

Jeff

Hi @Suchita Shewale
Can you share the solution? I had the same issue with every APX

I'm having the same issue. Can you please share what the resolution was?

caio.becker
Level 1
Level 1

I'm also having the same issue. can you please share what the resolution was?

caio.becker
Level 1
Level 1

Hi @sgpowelluk
Can you share the solution you had?
I have the same issue

We never received any helpful feedback and dropped that request as we could not access.
Regards,
Jeff
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: