: PAN-OS REST API Error Codes
Focus
Focus

PAN-OS REST API Error Codes

Table of Contents

PAN-OS REST API Error Codes

PAN-OS and Panorama REST API error code descriptions
The possible REST API feature-specific error response codes and their descriptions are as follows:
Error CodeDescription
1The operation was canceled, typically by the caller.
2Unknown internal server error.
3Bad request. The caller specified an invalid parameter.
4Gateway timeout. A firewall or Panorama module timed out before a backend operation completed.
5Not found. The requested entity was not found.
6Conflict. The entity that the caller attempted to create already exists.
7Forbidden. The caller does not have permission to execute the specified operation.
16Unauthorized. The request does not have valid authentication credentials to perform the operation.
8Resource exhausted. Some resource has been exhausted.
9Failed precondition. The operation was rejected because the system is not in a state required for the execution of the operation.
10Aborted because of conflict. A typical cause is a concurrency issue.
11Out of range. The operation was attempted past a valid range. And example is reaching an end-of-file.
12Not implemented. The operation is disabled, not implemented, or not supported.
13Internal server error. An unexpected and potentially serious internal error occurred.
14Service unavailable. The service is temporarily unavailable.
15Internal server error. Unrecoverable data loss or data corruption occurred.