Errors and Troubleshooting
All supported errors that you may unfortunately encounter while using Whisk API.
General Errors
Here is the list of common errors that you may receive while using any of our API services:
400: Bad Request
400: Bad Request
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. |
|
401: Unauthorized
401: Unauthorized
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. |
403: Bad Request
403: Bad Request
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. |
500: Internal Server Error
500: Internal Server Error
This failed response appears when something is not right on Whisk's end. Please send a message to [email protected], and be sure to include both the Request and Response data. We’ll get back to you soon.
Unique Errors
Here is the list of errors you may only receive while using specific API services:
COMMUNITY_ERROR_TOPIC_NOT_FOUND
COMMUNITY_ERROR_TOPIC_NOT_FOUND
Description | API Services | Troubleshooting |
This error appears when you try to read a topic's data but the topic can't be found. |
|
COMMUNITY_ERROR_NOT_FOUND
COMMUNITY_ERROR_NOT_FOUND
Description | API Services | Troubleshooting |
This error appears when you try to read a community's data but the community can't be found. |
|
COMMUNITY_ERROR_RECIPE_ALREADY_ADDED
COMMUNITY_ERROR_RECIPE_ALREADY_ADDED
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. |
COMMUNITY_ERROR_ALREADY_COMMUNITY_MEMBER
COMMUNITY_ERROR_ALREADY_COMMUNITY_MEMBER
Description | API Services | Troubleshooting |
This error appears when you try to join a community but you're already member of it. | 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. |
COMMUNITY_ERROR_NOT_A_COMMUNITY_MEMBER
COMMUNITY_ERROR_NOT_A_COMMUNITY_MEMBER
Description | API Services | Troubleshooting |
This error appears when you try to leave a community but you're not a member of it. | 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. |
LIST_ERROR_NOT_FOUND
LIST_ERROR_NOT_FOUND
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. |
|
|
LIST_ERROR_RECIPE_UNAVAILABLE
LIST_ERROR_RECIPE_UNAVAILABLE
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. |
|
LIST_ERROR_ITEM_NOT_FOUND
LIST_ERROR_ITEM_NOT_FOUND
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. |
|
|
LIST_ERROR_CAN_NOT_DELETE_PRIMARY
LIST_ERROR_CAN_NOT_DELETE_PRIMARY
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. |
MEAL_PLAN_ERROR_INVALID_PERIOD
MEAL_PLAN_ERROR_INVALID_PERIOD
Description | API Services | Troubleshooting |
This error appears when you try to generate a meal plan for an incorrect period of time. | Check if the |
MEAL_PLAN_ERROR_NOT_FOUND
MEAL_PLAN_ERROR_NOT_FOUND
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. |
|
MEAL_PLAN_ERROR_SLOT_NOT_FREE
MEAL_PLAN_ERROR_SLOT_NOT_FREE
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. |
|
|
MEAL_PLAN_ERROR_DAY_LIMIT_EXCEEDED
MEAL_PLAN_ERROR_DAY_LIMIT_EXCEEDED
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. |
MEAL_PLAN_ERROR_MEAL_NOT_FOUND
MEAL_PLAN_ERROR_MEAL_NOT_FOUND
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. |
|
|
MEAL_PLAN_ERROR_INVALID_SETTINGS
MEAL_PLAN_ERROR_INVALID_SETTINGS
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. |
|
MEAL_PLAN_ERROR_WEEK_LIMIT_EXCEEDED
MEAL_PLAN_ERROR_WEEK_LIMIT_EXCEEDED
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. |
RECIPE_ERROR_BAD_REQUEST
RECIPE_ERROR_BAD_REQUEST
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. |
RECIPE_ERROR_ALREADY_EXISTS
RECIPE_ERROR_ALREADY_EXISTS
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 |
RECIPE_ERROR_NOT_FOUND
RECIPE_ERROR_NOT_FOUND
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. |
|
STORE_ITEM_ERROR_BAD_REQUEST
STORE_ITEM_ERROR_BAD_REQUEST
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. |
Last updated