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

Source: https://astronode.dev/docs/errors/not-found · Updated: 2026-12-01

Code: `NOT_FOUND` · HTTP status: 404

| Question | Answer |
| --- | --- |
| 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*

| Request | `message` | Cause |
| --- | --- | --- |
| `POST /v1/chart/birth` | Route POST /v1/chart/birth not found | Typo - the path is `/v1/charts/birth` (plural). |
| `GET /v1/charts/birth` | Route GET /v1/charts/birth not found | Wrong method. Calculation endpoints are `POST` with a JSON body; the API answers 404, not 405. |
| `POST /charts/birth` | Route POST /charts/birth not found | Missing 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](https://astronode.dev/capabilities/vedic) or the [API reference](https://astronode.dev/docs), whose paths are checked against the API's own endpoint catalog.

## Report not found

Asynchronous jobs - [bulk matching](https://astronode.dev/capabilities/compatibility/compatibility-batch) and the PDF reports - return a report id with `202 Accepted`, and you poll [`GET /v1/reports/:id`](https://astronode.dev/capabilities/reports/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.

## Endpoints

- [`GET /v1/reports/:id`](https://astronode.dev/capabilities/reports/reports-id) - Report Status and Download API
- [`POST /v1/compatibility/batch`](https://astronode.dev/capabilities/compatibility/compatibility-batch) - Bulk Kundli Matching API
- [`POST /v1/charts/birth`](https://astronode.dev/capabilities/vedic/charts-birth) - Birth Chart (Kundli) API
