Skip to content
SynupAPI
Get an API key
ERRORSY30054

From email can't be blank for a domain

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

What the response looks like

Response
{
  "data": null,
  "errors": [
    {
      "message": "From email can't be blank for a domain",
      "context": {},
      "code": "SY30054"
    }
  ]
}

Where it comes from

Documented under Review Campaigns. 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
SY30001Either email or phone has to be present
SY30002Phone must be a number
SY30003Email already exists
SY30004Account id can't be blank
SY30005Location id can't be blank
SY30006The Global Setting for the location and account does not exists.
SY30016Insufficient Permissions To Add Customers To Campaigns.
SY30017Validation for some of your customers failed
SY30018Insufficient Permissions To Create Campaigns.
SY30019INVALID OPERATION: Construction Of Campaign Before Construction Of Global Settings.
SY30020The Global Setting for the location id: `$location_id` and account id: `$account_id` already exists.
SY30021Invalid Input. Missing either Rating or Feedback or Clicked Key in the input.