cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1249
Views
5
Helpful
3
Replies

Cisco Prime Infrastructure 2.2 API not working

zuwei.liu
Level 1
Level 1

Just upgraded to PI 2.2. API got error of "Access is denied to prime Infrastructure". Even assigned the user with 'Super Users' and 'NBI credential, NBI read, NBI', we still got denied error.

We use Perl to access API. Any sample code for authentication and authorization in Perl? Now even URL of https://prime.nm.nd.edu/webacs/api/v1/data got denied error.

Thank you.

3 Replies 3

Sopra Steria
Level 1
Level 1

Hi,

I am also having this issue after upgrading to 2.2. We get the http 403 error code. Did you resolve this issue?

 

Thank you. 

PI 2.2 API changed authorization group for API access. We added "NBI Read" and "NBI Credential" to API user, and resolved the access issue.

 

Cheers.

Hello, aware this is an old post - experiencing the same issue as this

To clarify did you have to add 'NBI read' and 'NBI Credential' group membership to the local user called 'API user'?

Thanks,