Error
too_many_attachments
Too many files on one email
| HTTP status | 422 |
|---|---|
| Retry | No: fix the request first |
| details | limit: the most files one email may carry. |
What happened
Too many files on one email.
Why
An email can carry only so many files in this workspace, and this one would carry more. message says how many are allowed.
How to fix it
Attach fewer files, or split them across two emails.
Example response
{
"error": "too_many_attachments",
"message": "Too many files on one email.",
"requestId": "req-8f2c1d4b",
"retryable": false,
"docs": "https://docs.vlayers.ai/errors/too_many_attachments"
}See Errors, retries and idempotency for how to handle errors in general.