---
title: "template_access_denied — no access to the template"
url: https://lumean.app/es/developers/docs/errors/template-access-denied
locale: es
description: "A domain refusal of order creation: HTTP 403, body `{\"success\": false, \"message\": \"…\", \"reason\": \"template_access_denied\"}`. The order was not created."
generated: 2026-10-17
---

# template_access_denied — no access to the template

- HTTP: `403`

- `reason`: `template_access_denied`

- Encabezado `Retry-After`: no

## Qué pasó

A domain refusal of order creation: HTTP 403, body `{"success": false, "message": "…", "reason": "template_access_denied"}`. The order was not created.

## Por qué

The template exists, but this key is not allowed to use it: the template belongs to another account, or the key lacks the `templates.read` scope. A nonexistent template looks different — `GET /templates/{template}` returns 404, and `POST /orders` fails the `exists` validation and returns 422 with the field in `errors`.

## Qué hacer

Check that the template is visible to the key. A template is owned by the account, not by a specific key: a template created on the web works for the API and vice versa, but a template that belongs to another account will not open with any key. If the template is yours, the problem is scopes: `automation` does not include `templates.write`, but it does include `templates.read`.

## Siguiente petición

`GET /templates/{template}` — 200 means you have access and the refusal has a different cause; 404 — the template does not exist; 403 — confirms the refusal. The list of templates available to the key — `GET /templates`.

## Relacionado

- [Guide: templates](https://lumean.app/es/developers/docs/guide/templates)
- [Guide: API keys, scopes, and headers](https://lumean.app/es/developers/docs/guide/authentication)
- [GET /templates/{template}](https://lumean.app/es/developers/docs/api/get-templates-template)
- [GET /templates](https://lumean.app/es/developers/docs/api/get-templates)
- [403 — insufficient permissions](https://lumean.app/es/developers/docs/errors/403)
- [My key scopes](https://lumean.app/es/developers)

---

- Esta página en el navegador: https://lumean.app/es/developers/docs/errors/template-access-denied
- Referencia completa legible por máquina: https://api.lumean.app/docs/llm.md
