Skip to content
SynupAPI
Get an API key
ERRORSY20201

Keyword must be minimum 2 characters

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

What the response looks like

Response
{
  "data": null,
  "errors": [
    {
      "message": "Keyword must be minimum 2 characters",
      "context": {},
      "code": "SY20201"
    }
  ]
}

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
SY20101Location Ids 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
SY20202Keyword can't be more than 255 characters