Errors, rate limits, and retries
Stable error envelope
Non-successful JSON responses use this shape:
{
"error": {
"code": "REQUEST_INVALID",
"detail": "Request validation failed",
"requestId": "req-01J5MEATTAXONOMY"
}
}
Persist or log requestId when diagnosing a failed integration. Do not log the bearer credential or
private resolver input.
Localized presentation fallback is not an error. When includeAttributeMetadata is true, inspect
attributeMetadata.fallbackUsed and each field/value fallbackUsed flag; an unsupported locale
returns English metadata with resolvedLocale: "en" rather than a 4xx response.
Status handling
| Status | Meaning | Client behavior |
|---|---|---|
400 |
Request does not match the contract | Fix the request; do not retry unchanged |
401 |
Credential is missing or invalid | Reload credentials; do not repeatedly retry |
403 |
Credential lacks the required scope | Request the correct scope from an administrator |
404 |
Route or entity was not found | Verify the identifier and current release |
409 |
Request conflicts with current state | Re-read state before deciding whether to retry |
410 |
Route was closed; error.detail names the replacement |
Move to the replacement; never retry |
429 |
Per-client operation limit exceeded | Wait for Retry-After, then retry with jitter |
500 |
Unexpected service failure | Retry a small number of times with exponential backoff |
503 |
Required dependency unavailable | Retry with exponential backoff and a bounded deadline |
Rate-limit headers
Successful authenticated responses include:
RateLimit-Limit
RateLimit-Remaining
RateLimit-Reset
A 429 response also includes Retry-After. Limits are enforced separately per client, operation,
and API replica. Existing operations use fixed one-minute windows; Suggest and interactive Resolve
use rolling windows:
| Operation class | Requests per minute |
|---|---|
| Ordinary reads and exploration | 120 |
| Suggest | 6,000, additionally capped at 200 in any rolling second |
| Hierarchy and compare | 30 |
Resolve (omitted mode or ledgered) |
600 |
Resolve (interactive) |
Separate 600, additionally capped at 10 in any rolling second |
| Substitutions | 20 |
| Full release export or release diff | 10 |
Do not coordinate traffic by creating multiple credentials for the same application. Use client-side concurrency limits, caching, and request coalescing.
Suggest and interactive Resolve successful headers describe the minute budget; their 429 headers describe the blocking
minute or second window. Counters reset on process replacement and are not globally shared across
replicas. See RFQ product suggestions for burst headroom and cancellation behavior.
Interactive and ledgered Resolve use different counters for the same client, not different keys.
Exhausting one counter does not consume the other allowance; both still share server capacity and
the existing concurrency cap. See Interactive RFQ resolution.
Retry policy
For read-only operations such as Suggest and interactive Resolve, retry only 429, 500, and 503 automatically. Use
exponential backoff with jitter, honor Retry-After, and set an overall deadline. Ordinary Resolve
is ledgered, and Explore may aggregate unknown vocabulary. Do not automatically retry an uncertain
ledgered Resolve after a timeout or lost response: there is no idempotency guarantee, and a retry may
record a duplicate event. Raptor should retain its manual flow and reconcile the missing association.
Every response includes a W3C traceparent header. Forward it when your own tracing system supports
W3C trace context.