ERRORSY10067
Photo size needs to be between 10kb to 5mb
The Synup API returns SY10067 in the errors array when this happens.
What the response looks like
Response
{
"data": null,
"errors": [
{
"message": "Photo size needs to be between 10kb to 5mb",
"context": {},
"code": "SY10067"
}
]
}Where it comes from
Documented under Locations, Media. 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 |