-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Feature Request
| Q | A |
|---|---|
| New Feature | yes |
| RFC | yes |
| BC Break | no |
Summary
For instance, I am sending a bad json body to an endpoint
I am getting the below response
{"title":"Internal Server Error","type":"https://datatracker.ietf.org/doc/html/rfc9110#name-500-internal-server-error","status":500,"detail":"An unknown error occurred."}
In logs at the server level, i have
"priority":3,"priorityName":"ERR","message":"Error when parsing JSON request body: Syntax error","extra":{"\u0000*\u0000message":"Error when parsing JSON request body: Syntax error",ETC
can we somehow return a more detailed error in this case to the client ?
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested