Skip to content
Hypamoon
API docs

Start for free. Sign up without a card and you'll get a test project and a test key right away. Once your company (or, for a personal account, you) is verified, you can create a live key in the portal.

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.