-
-
Notifications
You must be signed in to change notification settings - Fork 549
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delete/Upload Image throws an Bad Request Error #1798
Comments
i will need to look at the frontend but if you are using the rest api make sure to do form/multipart to properly transmit the data |
Many many thanks for looking at the frontend 👍 I found a workaround 😁 Uploading an image_url works like a charm 👍 Is it possible to output some more informations in the error log? DEBUG=1 doesn't work for me? I have another case: Updating an recipe with PUT also leads me to an HTTP400 and i don't see, what I'm doing wrong ;) |
generally speaking you should get a descriptive error message as a json response to your API requests, have you looked at those ? |
interesting, will take a look, thanks |
fixed |
Tandoor Version
Current Version: develop Ref: 3789388
Setup
Kubernetes
Reverse Proxy
Nginx Proxy Manager (NPM)
Other
No response
Bug description
Hi @vabene1111,
I'm trying to upload an image via Rest-API, but it's failing with an error 400 (Bad Request). The same error occurs, if I want to delete some image on the frontend (as you can see on the screenshot). Unfortunately the logs don't offer any more information, what i'm doing wrong (DEBUG is set to 1)
The frontend error might be a bug I think. The Rest-Api is definitely on my side ;)
Thanks and kind regards from Bavaria,
Benjamin
Relevant logs
The text was updated successfully, but these errors were encountered: