Docs menu: Errors

Errors

Errors are {"error": {"code", "message"}, "meta": …} with a matching HTTP status. Codes are stable; messages are written for people and may change.

Status codes

StatusCodesCounts towards your allowance
400invalid_registration invalid_company_number invalid_vat_number invalid_eori invalid_postcode invalid_name invalid_query invalid_body invalid_url too_manyNo
401missing_api_key invalid_api_keyNo
403watch_limit live_key_requiredNo
404vehicle_not_found company_not_found postcode_not_found station_not_foundYes
409watch_existsNo
422unsupported_regionNo, for example a Northern Ireland postcode
429rate_limited quota_exceededNo
503upstream_unavailable coming_soonNo; retry after the Retry-After header

Partial and stale responses

meta.sources shows each upstream source's status for the call: ok, stale, not_found, unavailable or skipped. meta.partial is true when one source failed and you still got the others. meta.stale is true when we served a cached copy because a source was down.

Retrying

Retry 429 and 503 responses after the number of seconds in Retry-After, with exponential backoff. Do not retry 400, 401 or 404.

Support

Every response carries an x-request-id header and meta.requestId. Quote it when you email info@vardic.dev.

Ready for live data?

Sign up with your email for a live key and a sandbox key, with a free allowance on every product. For volume, an SLA or invoice billing, talk to us.