Possible bug with empty requests #826
elizeusdsantos
started this conversation in
General
Replies: 2 comments 1 reply
-
I agree, that should be a 400. Can you create an issue? |
Beta Was this translation helpful? Give feedback.
1 reply
-
The latest rc should address that. Will confirm and update. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am migrating from another one library to DGS and I have realized that one of my integration tests which makes an request with only one space in the body is now returning 500 instead of 400. Is that the expected behavior?
error:
com.fasterxml.jackson.databind.exc.MismatchedInputException: No content to map due to end-of-input at [Source: (String)" "; line: 1, column: 0] at com.fasterxml.jackson.databind.exc.MismatchedInputException.from(MismatchedInputException.java:59) at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:4688) at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4586) at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3548) at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3531)
Beta Was this translation helpful? Give feedback.
All reactions