Overview
Errors
One error shape, a short list of stable codes.
Every error returns JSON with a stable machine-readable error code and a human-readable message. Branch on error; show message to people. Message wording may change.
409 Conflict
{
"error": "no_verified_quote",
"message": "No verified, unexpired quote at or under the max price yet"
}| Status | Code | When |
|---|---|---|
400 | invalid_* | A field is missing or out of range. The suffix names it: invalid_request, invalid_type, invalid_price, invalid_rule, invalid_quote_window, invalid_ttl, invalid_name, invalid_endpoint, invalid_types, invalid_active, invalid_window. |
401 | unauthorized | No valid session cookie or API key, or the key is revoked. |
403 | forbidden | Not your order, or a cookie-authenticated write from another origin. |
403 | own_order | You tried to quote on an order your own wallet posted. |
403 | provider_required | You tried to quote without a provider profile. Register first. |
404 | not_found | The order, fill, provider or path does not exist. |
409 | provider_exists | This wallet already has a provider. Use PATCH /v1/providers/me. |
409 | order_not_open | The order is filled, expired, cancelled, or its quote window has closed. |
409 | requote_not_lower | A new quote must be strictly lower than your current verified quote on that order. |
409 | no_verified_quote | Fill requested, but no verified, unexpired quote at or under the max yet. The order stays open. |
429 | rate_limited | Too many writes from this wallet. See Rate limits. |
Was this page helpful?