PlayaOS Developer Docs

Errors

Standard error responses returned by the PlayaOS API.

Error Format

All errors return a JSON body with two fields:

{
  "error": "Human-readable description",
  "code": "MACHINE_READABLE_CODE"
}

HTTP Status Codes

StatusMeaning
400Bad request — invalid query parameters or request body
401Unauthorized — missing or invalid API key
403Forbidden — key lacks the required scope
404Not found — resource doesn't exist in this org
409Conflict — business rule violation (e.g. duplicate signup)
500Internal server error — something went wrong on our end

Error Codes

CodeStatusDescription
AUTH_REQUIRED401API key is missing, malformed, or revoked
FORBIDDEN403Key exists but lacks the required scope for this endpoint
NOT_FOUND404Resource not found in this org
VALIDATION400Query parameters failed validation
CONFLICT409Business rule violation
UNKNOWN500Unexpected server error