Errors

The Pixee PIM API uses standard HTTP status codes and returns structured JSON error responses when something goes wrong.

Error response format

All error responses follow this structure:

Error response

{
  "detail": "The EAN field is required.",
  "error_code": "VALIDATION_ERROR",
  "timestamp": "2026-05-14T10:30:00Z"
}
FieldDescription
detailHuman-readable description of the error
error_codeOptional machine-readable error code
timestampISO 8601 timestamp of when the error occurred

HTTP status codes

StatusMeaning
200 OKRequest succeeded
201 CreatedResource created successfully
202 AcceptedRequest accepted — async processing started
204 No ContentRequest succeeded, no body returned
400 Bad RequestInvalid request parameters
401 UnauthorizedMissing, invalid, or expired credential
403 ForbiddenInsufficient scope or permissions
404 Not FoundResource not found
409 ConflictResource already exists (e.g. duplicate EAN)
422 Unprocessable EntityValidation error on request body
423 LockedAccount locked after repeated failed login attempts
429 Too Many RequestsRate limit exceeded — see Rate Limiting
500 Internal Server ErrorUnexpected server error
503 Service UnavailableTemporary outage or maintenance

Common error codes

Error codeDescription
AUTHENTICATION_REQUIREDNo credential provided
INVALID_API_KEYAPI key is invalid or revoked
PERMISSION_DENIEDCredential does not have access to this resource
NOT_FOUNDThe requested resource does not exist
VALIDATION_ERROROne or more fields failed validation
DUPLICATE_EANA product with this EAN already exists
RATE_LIMIT_EXCEEDEDToo many requests — retry after the indicated delay
IMPORT_FAILEDImport job encountered errors — check the error report
ACCOUNT_LOCKEDToo many failed login attempts — try again later

Async operations

Endpoints that start long-running jobs (imports, exports, enrichment) return 202 Accepted immediately. Poll the job's status endpoint until the status is completed or failed:

202 Accepted

{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "status": "processing"
}

Was this page helpful?