Skip to navigation

Errors and rate limits

How v1 reports failures and how to retry.

v1 uses standard HTTP status codes. Error bodies are JSON with a short error message, and validation failures add a details array. Branch on the status code, not on the message text.

{
"error": "Validation failed",
"details": ["allocations must contain at least one entry"]
}

Status codes

StatusMeaningWhat to do
400The request failed validation.Fix the fields named in details. Do not retry unchanged.
401The credential or token is missing, invalid or expired, or the key is deactivated.Get a new access token, then retry once.
403The key is valid but lacks the role or scope for this operation.Use a key with the role the operation names.
404The resource does not exist or is not visible to your key.Check the identifier.
429You exceeded the rate limit for your key.Wait, then retry. See below.
5xxUnexpected server error.Retry with exponential backoff.

Rate limits

Limits apply per API key and are shared with v2.

Key rolePer 10 secondsPer hour
Admin603,600
ReadOnly301,800

These are defaults. A key can have custom limits; the headers show the ones in effect.

HeaderMeaning
RateLimit-LimitRequests allowed in the window.
RateLimit-RemainingRequests left in the window.
RateLimit-ResetSeconds until the window resets.

Successful responses report the hourly budget. A 429 reports the exhausted budget and includes Retry-After in seconds; wait that long before retrying.

Failed authentication is limited to 30 attempts per IP address per 15 minutes. Further attempts return 429 with Retry-After.

Retrying writes

v1 Platform and Company operations do not take an idempotency key. Before you retry a create that timed out, read the resource to check whether the first attempt succeeded.

A Customer Portal JSON request is safe to retry when you send an externalId; a request that uploads files is not. See Customer Portal ingestion.