← Errors and troubleshooting

HTTP 404 · NOT_FOUND

NOT_FOUND: no such route, or no such report for this key

A 404 has two unrelated causes. Either the method and path match no endpoint at all - the message repeats exactly what we received, which usually makes the typo obvious - or you asked for a report the calling key cannot see.

Updated · every example recorded from a real API call

HTTP status
404 Not Found
Retry?
Unknown route: never. Report: no - fix the id or the key.
Needs a valid key?
Unknown routes answer 404 before authentication, even with no key.
405 Method Not Allowed?
Never sent. A wrong method is a 404.

Route not found

The message is Route <METHOD> <path> not found, with the path exactly as it arrived. Three real cases:

Unknown-route 404s
RequestmessageCause
POST /v1/chart/birthRoute POST /v1/chart/birth not foundTypo - the path is /v1/charts/birth (plural).
GET /v1/charts/birthRoute GET /v1/charts/birth not foundWrong method. Calculation endpoints are POST with a JSON body; the API answers 404, not 405.
POST /charts/birthRoute POST /charts/birth not foundMissing the /v1 version prefix - often a base URL that ends in / joined to a path without v1.

Because routing happens before authentication, these 404s arrive without rate-limit headers and do not use a slot in your per-minute window. No 404 consumes quota. They also do not prove your key works - test that against a real path.

Copy paths from the endpoint pages under capabilities or the API reference, whose paths are checked against the API's own endpoint catalog.

Report not found

Asynchronous jobs - bulk matching and the PDF reports - return a report id with 202 Accepted, and you poll GET /v1/reports/:id for the result. That endpoint answers 404 in two situations, with the same body:

json
{
  "request_id": "req_01M8RK47SY8KBWSXPHY19Q2ZVK",
  "error": { "code": "NOT_FOUND", "message": "Report not found" }
}
  • The id does not exist - check for truncation when you stored it.
  • The report was created by a different key, even one on the same account. Reports are scoped to the key that created them, so poll with the key that submitted the job. Rotating keys while jobs are pending will make them disappear from the new key's view.

A report that exists but is not finished is not a 404: it returns 200 with status: "pending". Keep polling those.