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.

Statuserror.codeEndpointsCauseWhat to do
401missing_credentials, invalid_token, expired_tokenallNo token, or a token that is invalid or expiredGet a new token. See Authentication.
402quota_exceededallThe month's request quota is used upWait for the next month or upgrade the plan. Retrying does not help.
403insufficient_scopeallThe token lacks estimate or marketUse a client application with the scope.
422validation_failedallA field breaks a rule, or the body or query has an unknown fieldFix what details names.
422insufficient_market_data/estimateNo match level had enough observationsAdd both postal codes, or treat the lane as unpriced. See Insufficient data.
429rate_limitedallOver the plan's requests per minuteWait Retry-After seconds, then retry.
500internal_error/estimate, /estimate/batchAPEX answered with an error, timed out (15 s for one lane, 30 s for a batch), or returned an unexpected bodyRetry with backoff. Quote request_id if it persists.
503service_unavailable/estimate, /estimate/batchAPEX is not configured for this environmentRetry with backoff.
503service_unavailable/market/overviewAPEX is not configured, or did not answer with a successRetry with backoff.

Not errors

ResponseMeaning
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.

On this page