cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2374
Views
2
Helpful
7
Replies

Cisco PSIRT openVuln APl Not Authorized

PortStuck
Level 1
Level 1

Hi,
I am using Postman to generate my oauth2 token for us with openVuln API, however once my token is generated and I try to call any API all my responses receive the Not Authorized.

I use https://id.cisco.com/oauth2/default/v1/token to generate my oauth2 token without issues. I have followed the advice in these threads 

PSIRT - openVuln API Authorization Error

Cisco PSIRT openVuln API oauth2 Token "Not Authorized"

Copy of my postman is below

postman details.png

 

 

 

 

 

 

I have tried in Curl instead of Postman, as well as re-registered my app several times, but continue to get the same response. Any advice on how to proceed?

1 Accepted Solution

Accepted Solutions

PR Oxman
Cisco Employee
Cisco Employee

Hello,

     From the postman screen shot you are calling:

    https://api.cisco.com/security/advisories/v2/all

    and not:

   https://apix.cisco.com/security/advisories/v2/all

   Change the base url; and retry.

   Please ensure you have followed as per: https://raw.githubusercontent.com/api-at-cisco/Images/master/Whats_New_Doc.pdf

HTH

View solution in original post

7 Replies 7

PR Oxman
Cisco Employee
Cisco Employee

Hello,

     From the postman screen shot you are calling:

    https://api.cisco.com/security/advisories/v2/all

    and not:

   https://apix.cisco.com/security/advisories/v2/all

   Change the base url; and retry.

   Please ensure you have followed as per: https://raw.githubusercontent.com/api-at-cisco/Images/master/Whats_New_Doc.pdf

HTH

PortStuck
Level 1
Level 1

Thanks PR Oxman, it's working now.

I was using the one listed here
https://developer.cisco.com/docs/psirt/#!api-reference/api-reference
is that the incorrect page?

Hello,
It’s not; that is the official page. But there is a transition at the moment in the Cisco APIs. The cut over is due to be completed by 1st of May.

We shall get that documentation updated before then.

HTH

<h1>Developer Inactive</h1> getting this

Hello Anand,

    Please start a new thread for a new issue.

    Can you please provide details of what you are attempting to do when you get that message.  Ideally showing your request (without credentials) and the full response.

Thanks.

Hi Oxman,

good day

iam trying to access cisco software reserach api to check the recommened and suggested release


https://apix.cisco.com/software/suggestion/v2/suggestions/software/productIds/C9200-24P?pageIndex=1



i created application using service and client credentials

token is getting generated

AnandRajasekaran_0-1685681645618.png

but my response is 

AnandRajasekaran_1-1685681683555.png


Developer inactive

 



Hello Anand,

     This thread is for the Cisco PSIRT OpenVuln API.  You are using the Support APIs - Cisco Software Suggestion API.

    Please post your questions above to https://community.cisco.com/t5/smart-net-total-care-portal-and-collector-discussions/bd-p/4891-discussions-smart-net-total-care

    But from https://developer.cisco.com/docs/support-apis/#!software-suggestion/error-codes it appears "The API key you are using to access the APIx proxy has not been approved or has been disabled. "

Thanks.