title: Unrecognized token 'message': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false')
body: <p>When I send a post request, I get this error.</p>
  <pre><code>Caused by: com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'message': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false')
   at [Source: (io.netty.buffer.ByteBufInputStream); line: 1, column: 9]
  </code></pre>
  <p>and this is Stack Trace:</p>
  <pre><code>Stack trace:
          at org.springframework.http.codec.json.AbstractJackson2Decoder.processException(AbstractJackson2Decoder.java:242) ~[spring-web-5.3.12.jar:5.3.12]
          at org.springframework.http.codec.json.AbstractJackson2Decoder.decode(AbstractJackson2Decoder.java:198) ~[spring-web-5.3.12.jar:5.3.12]
          at org.springframework.http.codec.json.AbstractJackson2Decoder.lambda$decodeToMono$1(AbstractJackson2Decoder.java:179) ~[spring-web-5.3.12.jar:5.3.12]
          at reactor.core.publisher.MonoFlatMap$FlatMapMain.onNext(MonoFlatMap.java:125) ~[reactor-core-3.4.11.jar:3.4.11]
          at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107) ~[reactor-core-3.4.11.jar:3.4.11]
          at reactor.core.publisher.FluxMapFuseable$MapFuseableConditionalSubscriber.onNext(FluxMapFuseable.java:295) ~[reactor-core-3.4.11.jar:3.4.11]
          at reactor.core.publisher.FluxFilterFuseable$FilterFuseableConditionalSubscriber.onNext(FluxFilterFuseable.java:337) ~[reactor-core-3.4.11.jar:3.4.11]
          at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1816) ~[reactor-core-3.4.11.jar:3.4.11]
          at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:159) ~[reactor-core-3.4.11.jar:3.4.11]
          at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:142) ~[reactor-core-3.4.11.jar:3.4.11]
          at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260) ~[reactor-core-3.4.11.jar:3.4.11]
          at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:142) ~[reactor-core-3.4.11.jar:3.4.11]
          at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:400) ~[reactor-netty-core-1.0.12.jar:1.0.12]
          at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:419) ~[reactor-netty-core-1.0.12.jar:1.0.12]
          at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:473) ~[reactor-netty-core-1.0.12.jar:1.0.12]
          at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:702) ~[reactor-netty-http-1.0.12.jar:1.0.12]
  </code></pre>
  <p>I have such a this JSON which sending to the server from client.</p>
  <pre><code>{
    &quot;message&quot;: &quot;string&quot;,
    &quot;originator&quot;: &quot;string&quot;,
    &quot;receivers&quot;: &quot;string&quot;
  }
  </code></pre>
  <p>and this is my service layer method which generate Webclient codes in there.</p>
  <pre><code>   @Override
      public Mono&lt;ResponseEntity&lt;? extends ResponseResource&gt;&gt; sendSms(BulkSmsRequestResourceTest request) {
          if (request == null) {
              return Mono.just(new ResponseEntity&lt;&gt;(
                      new ErrorResponseResource(
                              &quot;Transaction failed unsuccessfully!&quot;,
                              400),
                      HttpStatus.BAD_REQUEST));
          }
          Mono&lt;BulkSmsRequestResourceTest&gt; bulkSmsRequestResourceMono = webClientBuilder.build()
                  .post()
                  .uri(sendSmsService)
                  .contentType(MediaType.APPLICATION_JSON)
                  .accept(MediaType.APPLICATION_JSON)
                  .body(Mono.just(request), BulkSmsRequestResourceTest.class)
                  .retrieve()
                  .bodyToMono(BulkSmsRequestResourceTest.class);
          bulkSmsRequestResourceMono.subscribe();
          return Mono.just((new ResponseEntity&lt;&gt;(new SuccessResponseResource(&quot;Transaction done successfully&quot;, 200), HttpStatus.OK)));
      }
  </code></pre>
  <p>although I am getting error, but data successfully stored into database.</p>
  <p>This is me dto class</p>
  <pre><code>@Data
  @NoArgsConstructor
  @AllArgsConstructor
  @Builder
  public class BulkSmsRequestResourceTest {
  
      @JsonProperty(&quot;message&quot;)
      private String message;
  
      @JsonProperty(&quot;receivers&quot;)
      private String receivers;
      
      @JsonProperty(&quot;originator&quot;)
      private String originator;
  
  }
  </code></pre>
  <p>and this is my server response code:</p>
  <pre><code>@Override
  public String save(BulkSmsRequestDto bulkSmsRequestDto) {
  if (bulkSmsRequestDto == null) {
      return &quot;message unsuccess sended&quot;;
  }
  BulkSms bulkSms = BulkSms.builder()
          .message(bulkSmsRequestDto.getMessage())
          .phoneNumber(bulkSmsRequestDto.getReceivers())
          .originator(bulkSmsRequestDto.getOriginator())
          .build();
  this.bulkSmsRepository.save(bulkSms);
  return &quot;message success sended&quot;;
  }
  </code></pre>