Error
templates_only
This mailbox only sends saved replies
| HTTP status | 422 |
|---|---|
| Retry | No: fix the request first |
| details | mailbox. |
What happened
This mailbox only sends saved replies.
Why
The mailbox's owner set it to send only from saved templates, and this send was free text (or a forward). Nothing was sent. A signed-in person writing in the dashboard is not held to it.
How to fix it
Send one of the mailbox templates instead, or ask the owner to turn the setting off in the dashboard.
Example response
{
"error": "templates_only",
"message": "This mailbox only sends saved replies.",
"requestId": "req-8f2c1d4b",
"retryable": false,
"docs": "https://docs.vlayers.ai/errors/templates_only"
}See Errors, retries and idempotency for how to handle errors in general.