Errors

Every error is an RFC 9457 problem (application/problem+json):

{
  "type": "https://app.originpixel.in/developers/errors#validation_failed",
  "title": "Some fields are not valid",
  "status": 422,
  "code": "validation_failed",
  "detail": "email: Invalid email address",
  "errors": [{ "field": "email", "message": "Invalid email address" }],
  "instance": "/api/v1/contacts",
  "request_id": "req_6f1c..."
}
Error codes
codeHTTPMeaning
invalid_token401The API key or token is missing or not valid
expired_token401The API key or token has expired
revoked_token401The API key or token was revoked
ip_not_allowed403Requests from this IP address are not allowed for this key
feature_not_in_package403API access is not included in this package
product_not_in_package403This product is not included in the package
org_inactive403This business account is not active
insufficient_scope403The key does not have the scope this request needs
not_found404Not found
method_not_allowed405This method is not allowed on this resource
conflict409The request conflicts with existing data
idempotency_in_progress409A request with this Idempotency-Key is still being processed
idempotency_mismatch422This Idempotency-Key was used with a different request
invalid_request400The request is not valid
invalid_body400The request body is not valid
invalid_field422A field cannot be set
missing_field422A required field is missing
validation_failed422Some fields are not valid
invalid_filter400A filter is not valid
invalid_sort400The sort is not valid
invalid_cursor400The cursor is not valid
invalid_range400The date range is not valid
limit_reached402A package limit is reached
payload_too_large413The request body is too large
unsupported_media_type415Send JSON (Content-Type: application/json)
rate_limited429Too many requests
internal_error500Something went wrong on our side
unavailable503The API is not configured on this server