Accept or Reject Recommendations API Error Codes
| Error Response Code | Error Description |
|---|---|
| INVALID_ACTION_TYPE | if invalid action is passed |
| INVALID_RECOMMENDATION_ID | Invalid Recommendation ID Error |
| DUPLICATE_RECOMMENDATION_IDS_NOT_ALLOWED | If same recommendationId is duplicated in action api |
| MISSING_FIELD_RECOMMENDATION_ID | if recommendation id is not passed in actions |
| MISSING_FIELD_ACTIONS | if actions is passed as null or empty |
| RECOMMENDATION_IDS_LIMIT_EXCEEDED | if number of recommendation ids passed exceeds the default limit of 10 |
| RECOMMENDATION_ALREADY_EXPIRED | if user tries to perform an action on already expired recommendation id |
| RECOMMENDATION_ALREADY_REJECTED | if user tries to perform an action on already rejected recommendation id |
| RECOMMENDATION_ALREADY_ACCEPTED | if user tries to perform an action on already accepted recommendation id |
Updated about 9 hours ago
Did this page help you?
