x-astrolabe-cloud-request-id when debugging. It links the gateway response to route traces, usage rows, model-call records, and operational events.
Unauthorized
Symptoms:- HTTP
401 - error code
unauthorized - message says bearer authentication is required or the gateway key was not found
- Send
Authorization: Bearer <ASTROLABE_CLOUD_KEY>orx-api-key. - Confirm the key was copied from the Cloud app.
- Confirm the key has not been revoked.
Payment required
Symptoms:- HTTP
402 - error code
payment_required - message references prepaid balance
- Add credits in Billing.
- Wait for checkout completion and ledger credit.
- Reduce request size or choose a lower-cost stack if the reservation is too large.
Rate limited
Symptoms:- HTTP
429 - error code
rate_limited x-ratelimit-remaining: 0
- Back off until the
x-ratelimit-resettimestamp. - Use separate keys for separate services if traffic should be isolated.
Stack not found
Symptoms:- HTTP
404 - error code such as
routing_stack_not_foundorrouting_stack_resolution_failed
- Check
metadata.astrolabe.stack. - Confirm the stack slug exists in the workspace.
- Confirm the selected version is active.
- Remove the request override to fall back to key, workspace, or managed default assignment.
Routing policy blocked
Symptoms:- HTTP
409 - error code
routing_policy_blocked - message says no allowed candidates remain after applying stack boundaries
- Check allowed and blocked providers.
- Check allowed and blocked models.
- Check required capabilities.
- Check max expected cost.
- Check whether fallback is required to stay inside policy.
- Inspect rejected candidates in the route trace.
Unknown model or pricing model
Symptoms:- HTTP
404or502 - error code
unknown_model,unknown_pricing_model, or similar
- Use
GET /v1/modelsto confirm public model IDs. - Prefer virtual models such as
astrolabe/auto. - If requesting a concrete model, confirm it is active in the hosted model catalog.
Structured output invalid
Symptoms:- HTTP
502 - error code
structured_output_invalid
- Use
astrolabe/strict-json. - Use the
strict-jsonstack. - Set
metadata.astrolabe.verificationtostrictorstrong. - Inspect the route trace to see whether schema recovery ran.
Unbillable usage
Unbillable records are expected for some failures. Astrolabe records them so operators can distinguish provider cost, customer billing, and rejected traffic. Common unbillable reasons:missing_provider_usagestreaming_provider_errororigin_unreachableunknown_pricing_modelstructured_output_invalid- tool or policy rejection codes
Support checklist
Send support:x-astrolabe-cloud-request-id- timestamp
- endpoint
- requested model
- stack slug if used
- response status
- error code
- relevant response headers

