Error codes
What each error means and what to do about it. Errors are never charged.
How errors look
The API answers an error with application/problem+json. Every error has a code and a request_id, and some add fields of their own. Branch on code, never on the wording of title or detail, and accept codes you don't know.
{
"type": "https://conflationlabs.com/developers/errors/not_covered",
"title": "Not covered",
"status": 404,
"detail": "We don't serve Eagle, ID yet.",
"code": "not_covered",
"request_id": "req_…",
"nearby_covered": [ { "id": "place:1608830", "name": "Boise City, ID", "miles": 9 } ]
}Over MCP, a failed tool call comes back as an error with the same detail text, and the same problem, with its code, in the structured result.
- invalid_request (400) Invalid request
- invalid_key (401) Invalid key
- insufficient_credit (402) Insufficient credit
- not_allowed (403) Not allowed
- not_covered (404) Not covered
- address_not_found (404) Address not found
- job_not_found (404) Job not found
- idempotency_key_reused (409) Idempotency key reused
- version_retired (410) Version retired
- invalid_input (422) Invalid input
- rate_limited (429) Rate limited
- internal_error (500) Internal error
- temporarily_unavailable (503) Temporarily unavailable
invalid_request
HTTP 400 · Invalid request · Link to this code
When: The body isn't valid JSON, has a field we don't know, or a field has the wrong type.
What to do: Read detail to see which part is wrong. Check the body against the OpenAPI reference, fix it and send the call again.
invalid_key
HTTP 401 · Invalid key · Link to this code
When: The API key or sign-in token is missing, revoked or expired. When the key is ours, detail says which: revoked, expired, or the person who created it left the organization.
What to do: Send the key as Authorization: Bearer <key>. Check the key on the API keys page in the app, and create a new one if it was revoked or has expired. A key you revoke there stops working within a minute. In a chat app or other MCP client, sign in again.
insufficient_credit
HTTP 402 · Insufficient credit · Link to this code
When: Your organization's balance is below the price of this call. The reply includes price and balance.
What to do: Add funds from the Wallet chip at the top of the app, then send the call again.
not_allowed
HTTP 403 · Not allowed · Link to this code
When: Your organization doesn't have this operation, or API and MCP access is turned off for it.
What to do: Contact us and tell us which operation you need.
not_covered
HTTP 404 · Not covered · Link to this code
When: The address is in a place we don't serve yet. The reply includes nearby_covered, a list of places near it that we do serve, with the distance in miles.
What to do: Check that the address is the one you meant. If it is, we can't answer for it yet. Tell us if you need that place.
address_not_found
HTTP 404 · Address not found · Link to this code
When: We couldn't match the address to a real place.
What to do: Send a full US street address with city and state, for example "150 N Capitol Blvd, Boise, ID 83702".
job_not_found
HTTP 404 · Job not found · Link to this code
When: We don't know the job ID, it belongs to another organization, or its result has expired. A job's expires_at says when we stop keeping the result.
What to do: Check the job ID. Fetch results before expires_at. If the result has expired, run the operation again.
idempotency_key_reused
HTTP 409 · Idempotency key reused · Link to this code
When: You sent an Idempotency-Key that was used in the last 24 hours with a different body.
What to do: Use a new key for every new request. Send the same key again only to retry the exact same body; that returns the first reply and charges nothing again.
version_retired
HTTP 410 · Version retired · Link to this code
When: The API version in the path has passed its sunset date. The reply links to the page about moving to the new version. Before a version retires, its replies carry Deprecation and Sunset headers.
What to do: Move your calls to the version the reply names.
invalid_input
HTTP 422 · Invalid input · Link to this code
When: The request is well formed, but a value can't be used, such as an empty question.
What to do: Read detail, fix the value and send the call again.
rate_limited
HTTP 429 · Rate limited · Link to this code
When: Your organization is sending calls faster than its rate allows. The Retry-After header says how many seconds to wait.
What to do: Wait for Retry-After, then try again. To stay under the limit, watch the ratelimit-remaining header on each reply and slow down as it nears zero.
internal_error
HTTP 500 · Internal error · Link to this code
When: Something broke on our side. A job that failed for our own reasons also shows internal_error.
What to do: Try again later. If it keeps happening, contact us with the reply's request_id.
Still stuck? Contact us and include the request_id from the reply.
