code in your application
logic. Use message to correct the request. Include requestId if you contact support.
Handle errors
- Check the error
codeandmessage. - Correct the request or the project configuration.
- Retry only when the operation is safe to retry. Reuse the same idempotency key for a repeated usage or run request.
- If the problem continues, contact support and include the full error
response and
requestId.
A denial is not an API error
A validaccess.check or usage.consume request can return HTTP 200 with allowed: false.
Inspect rejectionReason before starting paid work. runs.consume and runs.settle use
accepted and reason instead. HTTP 429 means API rate limiting; your application can choose
its own HTTP status when it handles a commercial denial.