ERRORSY90001
Not Authorized to access this resource
The Synup API returns SY90001 in the errors array when this happens.
This code is documented with more than one message:
Not authorized to access this resource Please pass a Valid authorization keyWhat the response looks like
Response
{
"data": null,
"errors": [
{
"message": "Not Authorized to access this resource",
"context": {},
"code": "SY90001"
}
]
}Where it comes from
Documented under Locations, Profile Analytics, Interactions, Rankings, Review Campaigns, Notifications, Listings, User, Scan Tool. 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 |