Skip to content
SynupAPI
Get an API key
ERRORSY40008

Error while querying for email templates

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

What the response looks like

Response
{
  "data": null,
  "errors": [
    {
      "message": "Error while querying for email templates",
      "context": {},
      "code": "SY40008"
    }
  ]
}

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
SY40009Error while querying for recipient emails
SY40010Error while sending test email
SY40011Validation failed for Template: account_id can't be blank
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