[Bug] ServerWebInputException: 400 BAD_REQUEST "Failed to read HTTP message"; nested exception is org.springframework.core.codec...
See original GitHub issueSentry Issue: APPSMITH-Z7
MismatchedInputException: Cannot deserialize instance of `com.appsmith.external.models.PaginationField` out of START_OBJECT token
at [Source: (io.netty.buffer.ByteBufInputStream); line: 1, column: 1024] (through reference chain: com.appsmith.external.dtos.ExecuteActionDTO["paginationField"])
at com.fasterxml.jackson.databind.exc.MismatchedInputException.from(MismatchedInputException.java:59)
at com.fasterxml.jackson.databind.DeserializationContext.reportInputMismatch(DeserializationContext.java:1442)
at com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken(DeserializationContext.java:1216)
at com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken(DeserializationContext.java:1126)
at com.fasterxml.jackson.databind.deser.std.EnumDeserializer._deserializeOther(EnumDeserializer.java:267)
...
(37 additional frame(s) were not displayed)
DecodingException: JSON decoding error: Cannot deserialize instance of `com.appsmith.external.models.PaginationField` out of START_OBJECT token; nested exception is com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of `com.appsmith.external.models.PaginationField` out of START_OBJECT token
at [Source: (io.netty.buffer.ByteBufInputStream); line: 1, column: 1024] (through reference chain: com.appsmith.external.dtos.ExecuteActionDTO["paginationField"])
at org.springframework.http.codec.json.AbstractJackson2Decoder.processException(AbstractJackson2Decoder.java:181)
at org.springframework.http.codec.json.AbstractJackson2Decoder.decode(AbstractJackson2Decoder.java:147)
at org.springframework.http.codec.json.AbstractJackson2Decoder.lambda$decodeToMono$1(AbstractJackson2Decoder.java:133)
at reactor.core.publisher.MonoFlatMap$FlatMapMain.onNext(MonoFlatMap.java:118)
at reactor.core.publisher.FluxContextStart$ContextStartSubscriber.onNext(FluxContextStart.java:103)
...
(27 additional frame(s) were not displayed)
ServerWebInputException: 400 BAD_REQUEST "Failed to read HTTP message"; nested exception is org.springframework.core.codec.DecodingException: JSON decoding error: Cannot deserialize instance of `com.appsmith.external.models.PaginationField` out of START_OBJECT token; nested exception is com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of `com.appsmith.external.models.PaginationField` out of START_OBJECT token
at [Source: (io.netty.buffer.ByteBufInputStream); line: 1, column: 1024] (through reference chain: com.appsmith.external.dtos.ExecuteActionDTO["paginationField"])
at org.springframework.web.reactive.result.method.annotation.AbstractMessageReaderArgumentResolver.handleReadError(AbstractMessageReaderArgumentResolver.java:224)
at org.springframework.web.reactive.result.method.annotation.AbstractMessageReaderArgumentResolver.lambda$readBody$4(AbstractMessageReaderArgumentResolver.java:192)
at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onError(FluxOnErrorResume.java:88)
at reactor.core.publisher.MonoFlatMap$FlatMapMain.onNext(MonoFlatMap.java:122)
at reactor.core.publisher.FluxContextStart$ContextStartSubscriber.onNext(FluxContextStart.java:103)
...
(27 additional frame(s) were not displayed)
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
SpringBoot :Failed to read HTTP message - Stack Overflow
Your request body is missing so you are getting BAD REQUEST Error. in request header u have set "Content-type" as application/json.
Read more >400 BAD_REQUEST "Failed to read HTTP message"; nested ...
ServerWebInputException : 400 BAD_REQUEST "Failed to read HTTP message"; nested exception is org.springframework.core.codec... #13250.
Read more >Failed to read HTTP message: org.springframework.http ...
springframework.http.converter.HttpMessageNotReadableException. error400Badrequest. Every api developer must be familiar with this error.We ...
Read more >spring - ControllerAdvice for Kotlin - Stack Overflow
I want to create ControllerAdvice for validation exception and I'm using Webflux, Kotlin and jackson-module-kotlin. I've tried to do it with traditional ...
Read more >Uses of Class org.springframework.core ...
Exception hierarchy enabling sophisticated error handling independent of the ... Subclasses of NestedRuntimeException in org.springframework.aop.framework ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@nidhi-nair can we atleast get the server to throw sentry exceptions with the correct user id so we can look into smart look / logs to try and reproduce the issue?
Closing this in favour of #6376. The extra logging should help with diagnosis in the meantime.