Sign inGet Started

E04001 — AttachmentContentTypeBlocked

The attachment content type is not allowed. See the email attachment documentation for the blocklist.

  • HTTP status: 422
  • Type: validation_error
  • Name: AttachmentContentTypeBlocked

What to do

The request body parsed, but one or more values are invalid. The message says what is wrong, and param names the field when there is one. When the response has a details array, each entry names one failing field in param, as a dotted path like to[0].email or data.plan, with a short reason in message. Fix the named fields and retry.

Poursuivez avec la documentation, les guides et les exemples sur ce sujet.