Errors
One page for each error code the API answers.
- account_pending (403): The live account has asked to go live and is awaiting approval, so its live keys are not active yet. One call still answers: GET /v1/account with the live sk_ key, so your server can see the…
- account_suspended (403): The account is suspended, so data writes and listing data are refused. GET /v1/account, reading and deleting consumer data, deleting a consumer, and minting client tokens still work, so your…
- client_id_must_be_opaque (400): The client ID looks like an email address (it contains @) or a phone number (it is 10 to 15 digits once dashes and underscores are removed), has characters outside A-Z a-z 0-9 _ -, or is longer than…
- client_token_account_mismatch (401): The token was minted by a different account than the pk_ key presenting it.
- client_token_expired (401): The client token is past its exp. Tokens live 15 minutes by default and at most 60.
- client_token_invalid (401): The client token could not be verified: bad signature, malformed, unknown signing key, missing claims, or minted for the other environment.
- client_token_required (401): A pk_ key called an endpoint that acts for one consumer (favorites, and later saved searches and shapes) without a client token. A clientId in the URL or body is never used for this.
- data_stale (500): Live listing data is more than 12 hours old, so the API is not serving it. One of the three freshness clocks (GET /v1/status) is past 12 hours or missing: the change check, the key sweep or the…
- idempotency_conflict (409): The Idempotency-Key can't be used for this request:
- internal_error (500): Something went wrong on our side. The response always carries a requestId.
- invalid_api_key (401): The key is not in a valid format, or no account has it. A key only exists in its own environment: a test key is looked up in the sandbox and a live key in the live database, so a key sent to the…
- key_revoked (401): This key has been revoked, or its account was closed (which revokes every key at once).
- limit_reached (409): The most records of this kind are already held: 100 saved shapes or 100 saved searches for one consumer, or 10 webhook endpoints for the account. limit carries the number. Nothing was saved.
- listing_not_found (404): No listing with that key (or MLS number) is being served. The listing may have sold, been withdrawn or been removed from the MLS, in which case it has been purged and no copy is kept; or the key may…
- missing_api_key (401): No API key was sent.
- not_found (404): No such route or method, or the object (a favorite, a saved shape, a saved search, a webhook endpoint) does not exist for this account and consumer. Objects outside your scope are reported as not…
- origin_not_allowed (403): A pk_ key was used from a browser origin that is not on the account's authorized domains. The match is exact: scheme, host and port.
- pagination_limit_reached (400): A search can page through at most 10,000 results. The cursor sent would start past that point. meta.page.total reports the count up to the cap and totalIsCapped: true when the search has more.
- quota_exceeded (429): The key has been served its place outlines for today: 5,000 per key and UTC day. Retry-After and Outline-Quota-Reset give the seconds until 00:00 UTC, when the count starts again; Outline-Quota-Limit…
- rate_limited (429): Too many requests in a short time. See rate limits for the buckets: a secret key has its own (50 a second, bursts of 100); a publishable key has its own (20 a second, bursts of 50) and shares the…
- sandbox_listing_protected (409): A sandbox trigger named a listing it may not change. reason says which kind:
- sandbox_trigger_not_possible (409): A sandbox trigger asked for a change that cannot be made. reason says why:
- saved_search_not_active (409): A sandbox trigger asked for a match on a saved search that is paused, so no alert could follow. status carries the search's status: paused_tier, paused_suspended or paused_invalid.
- secret_key_in_browser (403): An sk_ key was sent from a browser: the request carried an Origin header, or any Sec-Fetch-Site header, which every browser adds to every request it makes (same-origin fetches, workers, frames and…
- secret_key_required (403): A pk_ key called an endpoint reserved for secret keys: minting client tokens, deleting a consumer, every /v1/webhook-endpoints route, and GET /v1/events.
- shape_in_use (409): The saved shape is named by one or more of the consumer's saved searches, so it was not deleted. savedSearchIds lists them. A saved search is never left pointing at a shape that is gone: it would…
- shape_invalid (400): A shape sent as location.shape (a search or a map) or as geometry (a saved shape) is not one closed ring that can be searched. field names where it came in and reason what was wrong:
- shape_too_large (400): A shape has more than 200 corners (reason: "too_many_vertices", with vertices and maxVertices) or covers more than 5,000 km² (reason: "area_too_large", with areaSqKm and maxAreaSqKm). field names…
- temporarily_unavailable (500): The request could not be completed right now. The response carries a Retry-After header (seconds). For a write, nothing was saved in the first two cases below, and repeating it is safe in every case…
- tier_insufficient (403): The request used a Premium feature with a key on a Basic account. The response names the feature in capability:
- validation_failed (400): A parameter or body field is missing, malformed or out of range, or the body could not be read. The response lists each problem in fields: [{ path, problem, expected }].
- webhook_destination_refused (400): The endpoint's host name resolves to an address that isn't on the public internet, so the registration ping was not sent and the endpoint was not saved.
- webhook_ping_failed (400): Registering a webhook endpoint sends it a signed ping, which must be answered with a 2xx within 10 seconds. It wasn't, so the endpoint was not saved. result says what happened:
- webhook_url_invalid (400): The url of a webhook endpoint can't be used. fields[0].problem says why: