ERRORSY30021
Invalid Input. Missing either Rating or Feedback or Clicked Key in the input.
The Synup API returns SY30021 in the errors array when this happens.
What the response looks like
Response
{
"data": null,
"errors": [
{
"message": "Invalid Input. Missing either Rating or Feedback or Clicked Key in the input.",
"context": {},
"code": "SY30021"
}
]
}Where it comes from
Documented under Review Campaigns. 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 Review Campaigns errors
| Code | Message |
|---|---|
SY30001 | Either email or phone has to be present |
SY30002 | Phone must be a number |
SY30003 | Email already exists |
SY30004 | Account id can't be blank |
SY30005 | Location id can't be blank |
SY30006 | The Global Setting for the location and account does not exists. |
SY30016 | Insufficient Permissions To Add Customers To Campaigns. |
SY30017 | Validation for some of your customers failed |
SY30018 | Insufficient Permissions To Create Campaigns. |
SY30019 | INVALID OPERATION: Construction Of Campaign Before Construction Of Global Settings. |
SY30020 | The Global Setting for the location id: `$location_id` and account id: `$account_id` already exists. |
SY30022 | Only one of clicked_key, feedback or rating can be present at a time. |