not_found
Either no endpoint matches the method and path, or the object id doesn’t exist in your org.
HTTP 404 · invalid_request_error · not retryable
What happened
Section titled “What happened”Either no endpoint matches the method and path, or the object id doesn’t
exist in your org. An id that belongs to another org gets the same answer. Paths are exact: a
trailing slash, // or .. never matches. For a path within two edits of a fixed endpoint
path, the message suggests it.
What to do
Section titled “What to do”Check the path or the id. For an id, check that you’re using a key or session from the right org.
Example
Section titled “Example”{ "error": { "type": "invalid_request_error", "code": "not_found", "message": "There's no endpoint at GET /v1/helth. Did you mean /v1/health?", "param": null, "request_id": "req_01j9zr3m5k8q2w7x4t6v0b1c9d", "doc_url": "https://docs.deedglass.com/errors/not_found" }}The message is for a person and can get more exact over time: branch on type and code, never on the message.
In the SDKs
Section titled “In the SDKs”| SDK | Raised as |
|---|---|
TypeScript (@deedglass/sdk) |
InvalidRequestError with code === "not_found" |
Python (deedglass) |
deedglass.InvalidRequestError with .code == "not_found" |