ERRORSY10019
Twitter Url for location is invalid. Must be in the format http(s)://twitter.com/handle or http(s)://x.com/handle.
The Synup API returns SY10019 in the errors array when this happens.
What the response looks like
Response
{
"data": null,
"errors": [
{
"message": "Twitter Url for location is invalid. Must be in the format http(s)://twitter.com/handle or http(s)://x.com/handle.",
"context": {},
"code": "SY10019"
}
]
}Where it comes from
Documented under Locations. 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.
Other Locations errors
| Code | Message |
|---|---|
SY10001 | Location `${name}` needs to be between 2 |
SY10002 | Additional Info needs to be a maximum of 1024 char |
SY10003 | Plan Id needs to be present |
SY10004 | Account Id needs to be present |
SY10005 | Description needs to have a minimum of 200 characters. |
SY10006 | Owner Email is of incorrect |
SY10007 | Enabled Site Ids are invalid |
SY10008 | Year of Incorporation is not valid |
SY10009 | Country is invalid |
SY10010 | State is invalid |
SY10011 | Street is invalid |
SY10012 | City is invalid |