I keep getting "key invalid" using PANrest AP1 for reporting

L1 Bithead

I keep getting "key invalid" using PANrest AP1 for reporting


This is my first post on KnowledgePoint, so apologies for any breaches of etiquette

Relevant info:

Panorama version 3.1.7

Attempting to use the API to run a report per this article:


I have generated my key with my account used to access Panorama.  It is a AD account (not local to Panorama).  I have full admin rights to the system (I am primary admin)

I attempt to use the key just generated seconds before to pull a report using this sample URL from the above article:


I keep getting "key invalid" as a response.  I am unsure what I am doing wrong.

I am researching this functionality in an attempt to discern the possibility of providing on-demand reports to users of their own web-browsing
activity.  Any help is greatly appreciated.
Not applicable

Re: I keep getting "key invalid" using PANrest AP1 for reporting


Change YOUR_IP_ADDRESS to the IP address of your firewall.  Change YOUR_KEY to the key you generated.


The previous link will retrieve data for the "Top App Summary" report.  Data must be logged for it to be available in reports.  No logs, no reports.  You can use the API to retrieve report information as long as there's data in the logs and reports on the firewall.

Best Regards,


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 Live Community as a whole!

The Live Community thanks you for your participation!