Skip to content
SynupAPI
Get an API key
ERRORSY20101

Location Ids can't be blank

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

What the response looks like

Response
{
  "data": null,
  "errors": [
    {
      "message": "Location Ids can't be blank",
      "context": {},
      "code": "SY20101"
    }
  ]
}

Where it comes from

Documented under Rankings. 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
SY20006Please provide a valid role
SY20009Rankings not enabled for this account
SY20100Keywords can't be blank
SY20103Maximum keyword limit reached
SY20104Invalid Keyword Id
SY20105Keyword with id `$keyword_id` not found
SY20106Keyword with name `$keyword` already exists
SY20200Keyword can't be blank
SY20201Keyword must be minimum 2 characters
SY20202Keyword can't be more than 255 characters