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
When trying to import a recipe I get 'There was an error creating a resource'.
Docker logs say bad request and the response is '{"name":["Not a valid string."]}'
If all Polish characters removed it imports fine
Relevant logs
web_recipes_1 | WARNING:django.request:Bad Request: /api/recipe/ web_recipes_1 | 172.19.0.4 - - [21/Apr/2023:13:59:46 +0100] "POST /api/recipe/ HTTP/1.0" 400 32 "http://192.168.50.11:28650/data/import/url""Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36"
Dev tools:
http request response:
{"name":["Not a valid string."]}
The text was updated successfully, but these errors were encountered:
fixed, it was actually not because of the characters but because it was an array for some reason. I added a check for names to filter these out, all characters should be kept.
Tandoor Version
v1.4.8
Setup
Docker / Docker-Compose
Reverse Proxy
Nginx Proxy Manager (NPM)
Other
No response
Bug description
When trying to import a recipe I get 'There was an error creating a resource'.
Docker logs say bad request and the response is '{"name":["Not a valid string."]}'
If all Polish characters removed it imports fine
Relevant logs
The text was updated successfully, but these errors were encountered: