ERRORSY50110
ratings should be between [1-5]
The Synup API returns SY50110 in the errors array when this happens.
What the response looks like
Response
{
"data": null,
"errors": [
{
"message": "ratings should be between [1-5]",
"context": {},
"code": "SY50110"
}
]
}Where it comes from
Documented under Interactions. 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 Interactions errors
| Code | Message |
|---|---|
SY50100 | Note must not be empty |
SY50101 | Widget name `$name` already used |
SY50102 | Name must not be empty |
SY50103 | Response content must not be empty |
SY50104 | Invalid site name provided |
SY50105 | Invalid URL provided |
SY50106 | Cannot update connected sites |
SY50107 | Template does not exist |
SY50108 | User config does not exist |
SY50109 | Template name already used |
SY50111 | Invalid SiteUrls |
SY50112 | Name can't be blank |