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
Yesterday a few people in the discord tried to help someone who got an error 400 upon requesting an endpoint.
We needed almost an hour to find the problem because he only saw "400 Bad request" and not the message of the thrown Error (idk why).
If the response status code had been 413, we would have found the issue much earlier.
Describe the bug
Yesterday a few people in the discord tried to help someone who got an error 400 upon requesting an endpoint.
We needed almost an hour to find the problem because he only saw "400 Bad request" and not the message of the thrown
Error
(idk why).If the response status code had been 413, we would have found the issue much earlier.
Reproduction
Can not reproduce on stackblitz
https://replit.com/@PehGeh/GreenMutedComma
Logs
No response
System Info
Severity
annoyance
Additional Information
kit/packages/adapter-node/src/handler.js
Lines 51 to 61 in ba168b0
It seems like it would be enough to set the
status
property on the thrown errors to 413.The text was updated successfully, but these errors were encountered: