APEXReference
Errors
Every status that the estimate, batch estimate and market overview endpoints answer, with the cause and what to do.
The APEX endpoints answer with the TOVR error envelope.
Branch on error.code, not on the message.
| Status | error.code | Endpoints | Cause | What to do |
|---|---|---|---|---|
401 | missing_credentials, invalid_token, expired_token | all | No token, or a token that is invalid or expired | Get a new token. See Authentication. |
402 | quota_exceeded | all | The month's request quota is used up | Wait for the next month or upgrade the plan. Retrying does not help. |
403 | insufficient_scope | all | The token lacks estimate or market | Use a client application with the scope. |
422 | validation_failed | all | A field breaks a rule, or the body or query has an unknown field | Fix what details names. |
422 | insufficient_market_data | /estimate | No match level had enough observations | Add both postal codes, or treat the lane as unpriced. See Insufficient data. |
429 | rate_limited | all | Over the plan's requests per minute | Wait Retry-After seconds, then retry. |
500 | internal_error | /estimate, /estimate/batch | APEX answered with an error, timed out (15 s for one lane, 30 s for a batch), or returned an unexpected body | Retry with backoff. Quote request_id if it persists. |
503 | service_unavailable | /estimate, /estimate/batch | APEX is not configured for this environment | Retry with backoff. |
503 | service_unavailable | /market/overview | APEX is not configured, or did not answer with a success | Retry with backoff. |
Not errors
| Response | Meaning |
|---|---|
A batch item whose result has quality_status: "INSUFFICIENT_DATA" | That lane had too few observations. The rest of the batch is unaffected. |
A 200 estimate with quality_status: "LOW" | An estimate from little or old data. Read it with its match_level and band. |