You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've also tested with some computer-crafted JSON file (extracted from a web site using a python library). If I upload the same JSON file to the Recipe folder and update the database, the recipe is shown in the frontend.
I've inspect the server log and I've got Could not parse recipe ingredients. It is no array. which is strange.
Here's a formated version of the recipe.json I've used : recipe.json
I'm not able to replicate using the recipe.json payload you've shared; I'd double check you've not accidentally malformed the json that you were attempting to POST
Description
When POSTing a recipe using the API described in https://nextcloud.github.io/cookbook/dev/api/0.1.2/index.html#/Recipes/newRecipe the server reply with a 500 error
Reproduction
Steps to reproduce the behavior:
I've also tested with some computer-crafted JSON file (extracted from a web site using a python library). If I upload the same JSON file to the Recipe folder and update the database, the recipe is shown in the frontend.
I've inspect the server log and I've got
Could not parse recipe ingredients. It is no array.
which is strange.Here's a formated version of the
recipe.json
I've used : recipe.jsonVersions
Nextcloud server version: 29.0.7.1
Cookbook version: 0.11.2
Database system: PostgreSQL
The text was updated successfully, but these errors were encountered: