Totally stuck getting started. Constant 403 responses

Showing results for 
Show  only  | Search instead for 
Did you mean: 

Totally stuck getting started. Constant 403 responses

L0 Member

Howdy all. I'm trying to get started with some API work on my PAN instances in AWS. I walked through the Getting Started guide for 8.0 and I created a user, assigned an Admin Profile to it that had API access, and then generated a key.  Seems pretty simple but no matter what I do, every request is coming back 403:


curl -k 'https://w.x.y.z//api/?type=op&cmd=<show><system><info></info></system></show>&key=LUFRPT0zTG5aOUEvbF...'
<response status = 'error' code = '403'><result><msg>Invalid credentials.</msg></result></response>


I've changed the password, I've recreated the user, i've redone the key after password changes. Nothing works. I have to be missing something simple.  Can anyone provide me some guidance?  I can't even figure out how to get to logfiles that would provide any debug output about why the user is getting rejected.


Screen Shot 2018-01-30 at 11.26.03 AM.pngScreen Shot 2018-01-30 at 11.26.22 AM.png


The name of the API key parameter is key, not api. So change the part preceding your key with &key= instead of &api=

silly me!

I was looking for mistake in any other places, 

thank you!

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!