Errors

Every error from the API is a problem details object (RFC 9457) with the content type application/problem+json. The code is stable: build on it, not on the wording.

{
  "type": "https://docs.naruskacrm.com/errors/quota_exceeded",
  "title": "Monthly limit reached",
  "status": 429,
  "code": "quota_exceeded",
  "detail": "The monthly api.requests limit of 25000 is used up. It resets at 2026-12-01T00:00:00Z; an admin can check usage.",
  "metric": "api.requests",
  "limit": 25000,
  "reset": "2026-12-01T00:00:00Z"
}
  • type links to the code’s page here. It always names the public docs address, whichever environment answered.
  • detail explains this occurrence in English. Some codes add fields of their own, listed on their page.
  • A 429 or 503 can be retried: wait for Retry-After when it is sent. A 4xx other than 429 won’t succeed unchanged.
  • The service-account token endpoint (POST /oauth/token) answers in the OAuth format instead (RFC 6749: error and error_description).

Codes

Code Status Meaning
already_invited 409 Already invited
already_member 409 Already a user
cap_reached 429 Plan limit reached
category_in_use 409 Category in use
category_required 409 Category required
conflict 409 Conflict
default_required 409 Default required
endpoint_not_active 409 Endpoint not active
file_too_large 413 File too large
forbidden 403 Forbidden
has_opportunities 409 Opportunities still there
idempotency_key_reused 422 Idempotency key reused
insufficient_scope 403 Insufficient scope
internal_error 500 Internal error
invalid_file_url 422 File URL not allowed
invalid_option 422 Invalid option
invalid_reference 422 Invalid reference
invalid_state 409 Invalid state
invalid_token 401 Invalid token
invalid_webhook_url 422 Webhook URL refused
last_admin 409 Last admin
last_link 409 Last link
length_required 411 Length required
no_active_company 403 No active company
not_a_file 409 Not a file
not_found 404 Not found
not_redeliverable 409 Not redeliverable
nothing_to_undo 404 Nothing to undo
quota_exceeded 429 Monthly limit reached
rate_limited 429 Too many requests
required_field 422 Required field missing
self_deactivation 409 Can’t deactivate yourself
session_required 403 Signed-in session required
timeout 503 Timed out
token_expired 401 Link expired
token_revoked 401 Token revoked
too_many 422 Too many contacts
unauthenticated 401 Authentication required
undo_conflict 409 Later changes block the undo
undo_merge 409 Merges cannot be undone
undo_not_supported 422 Cannot be undone
undo_window_expired 409 Too old to undo
upload_incomplete 422 Upload incomplete
upload_not_in_plan 403 Not in your plan
usage_unavailable 503 Usage unavailable
user_deactivated 401 User deactivated
validation_failed 422 Validation failed