Skip to content
Lumean

template_access_denied — no access to the template

403template_access_deniedno Retry-After

What happened

The order was not created. The response is HTTP 403 with the body {"success": false, "message": "…", "reason": "template_access_denied"}. The code comes on an order retry (POST /orders/{order}/retry) when the template of the original order is no longer available.

Why

The template belongs to another account, and its owner made it private. Orders can no longer be created from it. In POST /orders, another account's private template looks the same as a nonexistent one: a 422 with the template_id field in errors.

What to do right now

Such an order cannot be retried. Create a new order from your own template or a public one. A template belongs to the account, not to a key: a template created in your account works through the API, and the other way round.

Which request to send next

GET /templates/{template} returns 200 only to the template owner. For another account's template it returns 403, and for a nonexistent one 404. Your own templates are listed by GET /templates.

This page for AI

Open .mdllm.md

API version 1.0.0