Checkpoint Docs

Error Codes

Every standardized error code the Checkpoint platform returns, grouped by category, with HTTP status and message

This page is generated from the shared error registry in packages/checkpoint-shared/src/constants/errors.ts. Do not edit it by hand: run pnpm --filter @kya-os/checkpoint-shared run errors:docs to regenerate it, and CI fails any change that leaves this page out of date with the registry.

Error responses carry these codes in the error.code field of the standard error envelope, alongside a human-readable message. The HTTP status column shows the status returned for that code. A status marked "(default)" means the code has no explicitly assigned status in the registry and falls back to 500. A few endpoints also emit route-local codes that are not part of this registry, for example PROVISIONING_INVALID_REQUEST from the provisioning API.

Authentication

CodeHTTP statusMessage
AUTH_INVALID_API_KEY401The provided API key is invalid
AUTH_EXPIRED_API_KEY401The API key has expired
AUTH_INVALID_TOKEN401The provided token is invalid
AUTH_EXPIRED_TOKEN401The token has expired
AUTH_MISSING_CREDENTIALS401Authentication credentials are required
AUTH_UNAUTHORIZED401You are not authorized to perform this action
AUTH_INVALID_PIXEL_ID500 (default)The provided pixel ID is invalid
AUTH_INVALID_SECRET_KEY500 (default)The provided secret key is invalid

Validation

CodeHTTP statusMessage
VALIDATION_INVALID_REQUEST400The request is invalid
VALIDATION_MISSING_REQUIRED_FIELD400A required field is missing
VALIDATION_INVALID_FIELD_TYPE400Field type is invalid
VALIDATION_INVALID_FIELD_VALUE400Field value is invalid
VALIDATION_FIELD_TOO_LONG500 (default)Field value exceeds maximum length
VALIDATION_FIELD_TOO_SHORT500 (default)Field value is below minimum length
VALIDATION_INVALID_EMAIL500 (default)Invalid email address format
VALIDATION_INVALID_URL500 (default)Invalid URL format
VALIDATION_INVALID_UUID500 (default)Invalid UUID format
VALIDATION_INVALID_IP_ADDRESS500 (default)Invalid IP address format
VALIDATION_INVALID_USER_AGENT500 (default)Invalid or missing user agent

Detection

CodeHTTP statusMessage
DETECTION_FAILED500 (default)Agent detection failed
DETECTION_INSUFFICIENT_DATA500 (default)Insufficient data for detection
DETECTION_PATTERN_MATCH_FAILED500 (default)Pattern matching failed
DETECTION_WASM_NOT_LOADED500 (default)WASM module is not loaded
DETECTION_WASM_EXECUTION_FAILED500 (default)WASM execution failed
DETECTION_CONFIDENCE_BELOW_THRESHOLD500 (default)Detection confidence below threshold
DETECTION_SIGNATURE_VERIFICATION_FAILED500 (default)Signature verification failed

Rate limiting

CodeHTTP statusMessage
RATE_LIMIT_EXCEEDED429Rate limit exceeded
RATE_LIMIT_BURST_EXCEEDED429Burst limit exceeded
RATE_LIMIT_DAILY_EXCEEDED429Daily request limit exceeded
RATE_LIMIT_MONTHLY_EXCEEDED500 (default)Monthly request limit exceeded
RATE_LIMIT_CONCURRENT_EXCEEDED500 (default)Concurrent request limit exceeded
RATE_LIMIT_QUOTA_EXCEEDED500 (default)Account quota exceeded

Permissions

CodeHTTP statusMessage
PERMISSION_INSUFFICIENT403Insufficient permissions
PERMISSION_RESOURCE_NOT_FOUND404Resource not found
PERMISSION_ACCESS_DENIED403Access to resource denied
PERMISSION_OPERATION_NOT_ALLOWED403Operation not allowed
PERMISSION_PROJECT_ACCESS_DENIED500 (default)Project access denied
PERMISSION_PIXEL_ACCESS_DENIED500 (default)Pixel access denied

Network

CodeHTTP statusMessage
NETWORK_CONNECTION_FAILED500 (default)Connection failed
NETWORK_TIMEOUT504Request timeout
NETWORK_DNS_FAILED500 (default)DNS resolution failed
NETWORK_SSL_ERROR500 (default)SSL/TLS error
NETWORK_PROXY_ERROR500 (default)Proxy error
NETWORK_UPSTREAM_ERROR502Upstream service error

Internal

CodeHTTP statusMessage
INTERNAL_SERVER_ERROR500Internal server error
INTERNAL_DATABASE_ERROR500Database error
INTERNAL_CACHE_ERROR500 (default)Cache error
INTERNAL_CONFIGURATION_ERROR500 (default)Configuration error
INTERNAL_INITIALIZATION_ERROR503Initialization error
INTERNAL_PROCESSING_ERROR500Processing error
INTERNAL_UNKNOWN_ERROR500 (default)An unknown error occurred

Session

CodeHTTP statusMessage
SESSION_NOT_FOUND404Session not found
SESSION_EXPIRED500 (default)Session has expired
SESSION_INVALID500 (default)Session is invalid
SESSION_CREATION_FAILED500 (default)Failed to create session
SESSION_UPDATE_FAILED500 (default)Failed to update session
SESSION_STORAGE_ERROR500 (default)Session storage error
SESSION_MAX_EXCEEDED500 (default)Maximum sessions exceeded

Pixel

CodeHTTP statusMessage
PIXEL_NOT_FOUND404Pixel not found
PIXEL_DISABLED500 (default)Pixel is disabled
PIXEL_CONFIGURATION_ERROR500 (default)Pixel configuration error
PIXEL_DOMAIN_NOT_ALLOWED500 (default)Domain not allowed for this pixel
PIXEL_PATH_SKIPPED500 (default)Path is configured to be skipped
PIXEL_EVENT_INVALID500 (default)Invalid pixel event
PIXEL_BATCH_TOO_LARGE413Event batch exceeds maximum size

API

CodeHTTP statusMessage
API_ENDPOINT_NOT_FOUND404API endpoint not found
API_METHOD_NOT_ALLOWED405HTTP method not allowed
API_VERSION_NOT_SUPPORTED500 (default)API version not supported
API_CONTENT_TYPE_NOT_SUPPORTED415Content type not supported
API_RESPONSE_TOO_LARGE500 (default)Response exceeds maximum size
API_REQUEST_TOO_LARGE413Request exceeds maximum size