The possible errors that can be handled by the email service are:
Error | Description |
---|---|
MISSING_INPUT | A mandatory input variable was not provided. |
INVALID_INPUT | The input variable has an invalid type. |
TEMPLATE_READ_ERROR | Cannot read the FreeMarker template. |
TEMPLATE_METADATA_ERROR | The template references non-existing metadata. |
TEMPLATE_SYNTAX_ERROR | Invalid FreeMarker syntax. |
EMAIL_CONNECTION_ERROR | Unable to connect to the email service. |
EMAIL_AUTHENTICATION_ERROR | Unable to authenticate into the email service. |
EMAIL_SEND_ERROR | Unable to send the email. |
UNKNOWN_ERROR | Unexpected runtime error. |
BAD_REQUEST | The server could not understand the request due to invalid syntax. |
UNAUTHORIZED | The request has not been applied because it lacks valid authentication. |
FORBIDDEN | The server understood the request but refuses to authorize it. |
NOT_FOUND | The server could not find what was requested. |
INTERNAL_SERVER_ERROR | The server has encountered a situation it doesn’t know how to handle. |
BAD_GATEWAY | The server got an invalid response. |
SERVICE_UNAVAILABLE | The server is not ready to handle the request. |
GATEWAY_TIMEOUT | The server is acting as a gateway and cannot get a response in time. |