Send

Error Codes

Every error the API can return.

Errors always have the shape:

{ "error": "human-readable message", "code": "MACHINE_READABLE_CODE" }
HTTP statuscodeMeaning
400VALIDATION_ERRORThe request body failed validation — see error for which field
401INVALID_API_KEYMissing, malformed, or revoked API key
404EMAIL_NOT_FOUNDNo send with that id exists for your project
404JOB_NOT_FOUNDNo job with that id exists for your project
500INTERNAL_ERRORSomething went wrong on our side — safe to retry
502SEND_FAILEDThe email provider rejected or failed to deliver the send