Go to developer

Troubleshoot Network & HTTP

KEYRA-specific meaning of 400, 401, 403, 404, 409, 429, and 5xx.

On this page

Map status + error code together. Rate limits return rate_limited without Retry-After headers today.

429 from KEYRA API

Symptom

Requests return HTTP 429 with error rate_limited.

Most likely causes

  1. Aggressive polling
  2. Retry storms
  3. Shared key/IP exceeding the window

How to diagnose

  • Partner body uses message; OAuth rate limit uses error_description
  • No Retry-After headers are returned today

How to fix

  • Use SDK wait helpers.
  • Retry later with backoff.

5xx from KEYRA API

Symptom

Requests return 503 feature_disabled or server_unavailable (or other 5xx).

Most likely causes

  1. Transient infrastructure
  2. Feature flag off
  3. Wrong auth deployment

How to diagnose

  • Confirm auth host.
  • Retry with backoff for server_unavailable.

How to fix

  • Escalate if persistent with timestamp + endpoint + error code.

409 conflict errors

Symptom

already_enrolled, already_consumed, or verification_token_already_used.

Most likely causes

  1. Duplicate enroll
  2. Double consume/validate
  3. UI retry after success

How to diagnose

  • Treat successful consume/validate as terminal.
  • Start a new flow for a new login.

How to fix

  • Do not retry the same token/code.
  • Use status before enroll.