Skip to main content

Error Codes

This page specifies the error codes for the Prisma AIRS AI Network: API intercept scan APIs. An error response in the API appears in the following format:

{
"error": {
"message": "Successfully scanned request"
}
}
HTTP Status CodeDescriptionCommon Scenario
200Successfully scanned requestThe request was completed successfully, and the scan results were returned
400Bad Request - Request data is invalid or malformed- Empty request body
- Unreadable request body
- Wrong request format
- No scan content provided in the scan request
- Both prompt and response are null
- Empty prompt: Scan request content's prompt is empty
- Empty response: Scan request content's response is empty
- No scan IDs provided
- Too many scan IDs: maximum 5 scan IDs allowed
- Scan ID length exceeds maximum allowed characters (36 characters allowed)
- Invalid scan ID format
- Invalid scan ID
- No report IDs provided
- Too many report IDs: maximum 5 report IDs allowed
- Report ID length exceeds maximum length (37 characters allowed)
- Profile ID invalid: Missing or bad profile ID format, must follow UUID format (for example, 12345678-0000-1234-1234-123456789012)
- Profile name invalid: Missing profile name or length exceeds the 100 characters limit
401Unauthenticated - Not Authenticated- Missing API key or Oauth token
403Forbidden - Invalid API Key- Invalid, revoked, or expired API key
404Not Found - Resource is not found- Invalid API endpoint
405Method Not Allowed- Using the wrong HTTP method (Refer to the Scan endpoints reference docs for the relevant methods for each endpoint)
- Endpoint doesn't support the requested method
413Request Too Large - The request body is too large- Scan content exceeds size limits
415Unsupported Media Type- Missing Content-Type header
- Content-Type is not application/json
429Too Many Requests - Request exceeds the limit- API rate limit exceeded (Refer to the limitations page for details)
- Too many concurrent scans
Limitations
* Synchrounous & asynchronous scans are limited based on API call quota
* Scan results and reports are not subject to an API call quota, but are subject to a 10 requests limit per minute
500Internal Server Error- Unexpected server error