Skip to content
Hypamoon

Start for free. Sign up without a card and connect your chat, or create a test key for the API. Going live with something real asks for a quick check of your company first.

Errors

attachment_not_allowed

Status
422
Type
https://hypamoon.com/docs/errors/attachment_not_allowed

This attachment cannot be sent. Allowed are PDF, PNG, JPG, GIF and WebP, plus calendar (.ics), text (.txt) and CSV (.csv) files as UTF-8 text. The type is checked on the first bytes of the file, not only on its name, so the extension must match what the file really is. Never allowed: anything that runs or renders as a page (exe, js, html, svg, zip and the like), and a PDF with scripts, launch actions or embedded files. index says which attachment; allowed lists the extensions.