not_found
HTTP 404. The thing you named does not exist, or does not exist on this account.
{ "error": { "type": "not_found", "message": "Template `invioce` was not found on this account.", "docs_url": "https://galleyrender.com/docs/errors/not_found", "details": { "requested": "invioce", "available_templates": ["invoice@1", "og-card@2", "receipt@1"], "create_url": "https://galleyrender.com/docs/templates#create" } }}{ "error": { "type": "not_found", "message": "Template `invoice` has no version 7.", "docs_url": "https://galleyrender.com/docs/errors/not_found", "details": { "latest_version": 3 } }}Why this happens
Section titled “Why this happens”| Raised when | Endpoint |
|---|---|
| No template with that name, or it was deleted | render, get, version publish, version list, delete |
| The template exists but has no such version | anything taking name@N |
| No render with that id on this account | GET /v1/renders/:id |
| The URL matches no route at all | anything — details.docs points at the API reference |
| A stored object is missing behind a valid render row | file delivery |
Everything is scoped by account. Somebody else’s id is a 404 by design, so the API never
confirms that an id exists elsewhere.
How to fix it
Section titled “How to fix it”When a template is missing, details.available_templates already lists up to 25 that do exist,
in name@version form — pick from it rather than guessing, or list them with
GET /v1/templates. When a version is missing, details.latest_version
tells you how high the numbers go. Remember that a deleted template stops resolving immediately,
while renders it produced keep working.
Does retrying help?
Section titled “Does retrying help?”No, unless you are polling for something that has not been created yet.