Skip to main content

Error Codes

This document describes all HTTP status codes and error scenarios used across the Management Plane and Data Plane APIs. Error responses from the API are always returned in JSON structure so that clients can parse and handle different failure modes appropriately. An error response in the API appears in the following format:

{
"code": "error_code_identifier",
"message": "Human-readable error description",
"details": {} // Optional, included for validation errors
}

HTTP Status Codes Reference

Status CodeDescriptionCommon Scenarios
200Successfully processed requestRequest completed successfully, response data returned
201Successfully created a resourceCreating a scan, creating a security group
400Bad Request - Invalid or malformed requestRequest Validation Issues: Empty request body, No files to scan, Unreadable or malformed request body, Wrong request format or content type, Malformed query parameters, Max scan labels exceeded, Security group source type mismatch
401Unauthenticated - Authentication failedMissing or invalid authentication credentials
403Forbidden - Access deniedInsufficient permissions or expired/invalid deployment profile
404Not Found - Resource not foundRequested resource doesn't exist or tenant isolation violation
405Method Not AllowedUsing wrong HTTP method for endpoint
409Conflict - Resource conflictAttempting to delete a security group while it is in PENDING state
422Unprocessable Entity - Validation failedRequest validation errors or malformed request body
500Internal Server ErrorUnexpected server error