Skip to content
SynupAPI
Get an API key
ERRORSY40011

Validation failed for Template: account_id can't be blank

The Synup API returns SY40011 in the errors array when this happens.

What the response looks like

Response
{
  "data": null,
  "errors": [
    {
      "message": "Validation failed for Template: account_id can't be blank",
      "context": {},
      "code": "SY40011"
    }
  ]
}

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.

CodeMessage
SY40003Email activation failed. Please try after some time
SY40004Location does not belong to your account
SY40005Error while querying for email setting
SY40006Error while querying for agency setting
SY40007Error while querying for email notifications
SY40008Error while querying for email templates
SY40009Error while querying for recipient emails
SY40010Error while sending test email
SY40012Validation failed for Recipient: mailable_type can't be blank
SY40013Validation failed for Recipient: mailable_id can't be blank
SY40014Validation failed for Recipient: email is invalid
SY40015Requested resource could not be found