ERRORSY40014
Validation failed for Recipient: email is invalid
The Synup API returns SY40014 in the errors array when this happens.
What the response looks like
Response
{
"data": null,
"errors": [
{
"message": "Validation failed for Recipient: email is invalid",
"context": {},
"code": "SY40014"
}
]
}Where it comes from
Documented under Notifications. The context field carries the offending value when one is relevant, and is empty otherwise.
See the full error code reference for every code the API can return.
Other Notifications errors
| Code | Message |
|---|---|
SY40003 | Email activation failed. Please try after some time |
SY40004 | Location does not belong to your account |
SY40005 | Error while querying for email setting |
SY40006 | Error while querying for agency setting |
SY40007 | Error while querying for email notifications |
SY40008 | Error while querying for email templates |
SY40009 | Error while querying for recipient emails |
SY40010 | Error while sending test email |
SY40011 | Validation failed for Template: account_id can't be blank |
SY40012 | Validation failed for Recipient: mailable_type can't be blank |
SY40013 | Validation failed for Recipient: mailable_id can't be blank |
SY40015 | Requested resource could not be found |