Konfiwear V2 is here — redesigned from the ground up.See what's new

Error Handling

When authentication or authorization fails, the API returns a JSON error response with one of these codes:

Auth and rate limit errors

StatusErrorDescription
401missing_api_keyNo X-Api-Key header provided
401invalid_key_formatKey does not match expected format
401invalid_keyKey not found in the system
403key_deactivatedKey has been deactivated by an admin
403key_revokedKey has been permanently revoked
403key_expiredKey has passed its expiration date
403insufficient_scopeKey lacks the required permission scope
429rate_limit_exceededToo many requests — see Retry-After header

Operational Errors

StatusErrorDescription
400invalid_bodyRequest body is not valid JSON
400validation_errorRequired field missing or invalid (see detail)
404not_foundResource or endpoint does not exist
405method_not_allowedHTTP method not supported for this endpoint
500internal_errorUnexpected server error
500query_errorDatabase query failed
Error response shape
{
  "error": "insufficient_scope",
  "detail": "read:products"
}