Here is the list of common errors that you may receive while using any of our API services:
{"code":"general.badRequest","message":"Invalid date: GrpcDate(2020,3,128)"}
This failed response appears when error codes are found in the endpoint query. The possible error codes that may appear are:
Error Code | Description | Troubleshooting |
​
| This error code appears when there is invalid data format found in the request. | Check your request headers and parameters to fix the data formatting issue. |
​
| This error code appears when an ID of a resource specified in the API request is not found. |
|
{"code":"auth.tokenNotFound"}
This failed response appears due to API authentication failure. The possible error codes that may appear are:
Error Code | Description | Troubleshooting |
​
| This error code appears when the authentication token in use has expired. | This error usually occurs due to one of the following:
|
​
| This error code appears when you forget to use an authentication token in your API request. | Specify the token in the Authorization header, or use it as a query parameter in the request URL. |
​
| ​ The
| Regenerate or request a new token. |
{"code": "authorization.scopeRequired"}
This failed response appears when the request is formed and authenticated correctly, but the API refuses to accept it due to insufficient permission. The possible error codes that may appear are:
Error Code | Description | Troubleshooting |
​
| This error code appears when your token has insufficient permission to access a resource. | You may be using the wrong or a different token. Try again with a user access token. |
​
| This error code appears when the authorization token is missing a specific scope that is needed to access a resource. | Regenerate or request a new token with the required scopes. |
This is unexpected response, something is wrong on our side, please contact: help@whisk.com
This failed response appears when something is not right on Whisk's end. Please send a message to help@whisk.com, and be sure to include both the Request and Response data. We’ll get back to you soon.
Here is the list of errors you may only receive while using specific API services:
Description | API Services | Troubleshooting |
This error appears when you try to read a topic's data but the topic can't be found. | ​ |
|
Description | API Services | Troubleshooting |
This error appears when you try to read a community's data but the community can't be found. | ​
| ​
|
Description | API Services | Troubleshooting |
This error appears when you try to add recipes that already exist in the community. | ​ | Search for the recipe inside the community on Whisk as it may already exist there. If you don't find it there, then check if the recipe ID you used in your API request belongs to the recipe you wanted to add to the community. |
Description | API Services | Troubleshooting |
This error appears when you try to join a community but you're already member of it. | ​ ​Join a community.​ | Search for the community on Whisk and check if you are already a member there. If it shows you a button join the community, then check the community ID you used in your API request as it may belong to a different community. |
Description | API Services | Troubleshooting |
This error appears when you try to leave a community but you're not a member of it. | ​ ​Leave a community.​ | Search for the community on Whisk and check if it shows you a button join the community as may not have join it. If shows that you're already a member of it then check the community ID you used in your API request as it may belong to a different community. |
Description | API Services | Troubleshooting |
This error appears when you try to read a shopping list's data but the shopping list can't be found. | ​
| ​
|
Description | API Services | Troubleshooting |
This error appears when you try to read a recipe's data to add items to the shopping list but the recipe can't be found. | ​Create a shopping list.​ | ​
|
Description | API Services | Troubleshooting |
This error appears when you try to read an item from a shopping list but the item can't be found. | ​
| ​ ​
|
Description | API Services | Troubleshooting |
This error appears when you try to delete a shopping list but it can't be deleted since you have set it as your primary shopping list. | ​ ​Delete a shopping list.​ | Try setting some other shopping list as primary and try again. |
Description | API Services | Troubleshooting |
This error appears when you try to generate a meal plan for an incorrect period of time. | ​ | Check if the |
Description | API Services | Troubleshooting |
This error appears when you try to read a meal plan's data but the meal plan can't be found. | ​
| ​
|
Description | API Services | Troubleshooting |
This error appears when you try to add or update a meal in a meal plan but the requested slot is already occupied by another meal. | ​
|
|
Description | API Services | Troubleshooting |
This error appears when you exceed the number of meals allowed in a day. | ​
| Check if you already have 7 meals, which is the maximum number of meals you can have set for the day. |
Description | API Services | Troubleshooting |
This error appears when you try to read or edit a meal in a meal plan but the meal can't be found. | ​
| ​
|
Description | API Services | Troubleshooting |
This error appears when you try to write meal plan settings for generating or updating a meal plan but the data specified is incorrect. | ​ |
|
Description | API Services | Troubleshooting |
This error appears when you exceed the number of meals allowed in a week. | ​ Modify a batch of meals. | Check if you already have 50 meals, which is the maximum number of meals you can have set for the week. |
Description | API Services | Troubleshooting |
This error appears when your request contains incorrect parameters. | ​
| Check the Recipe API documentation to see if your API request is correctly formed. |
Description | API Services | Troubleshooting |
This error appears when you try to add a recipe but the recipe already exists. | ​ | You maybe adding a recipe that already existing |
Description | API Services | Troubleshooting |
This error appears when you try to read or edit a recipe's data but the recipe can't be found. | ​ | ​
|
Description | API Services | Troubleshooting |
This error appears when you try to read store items data but your request contains incorrect parameters. | Get store items. | Check the Store API documentation to see if your API request is correctly formed. |
​
​
​