JSON parse error: Cannot deserialize value

hamzakhanhamzakhan Member Posts: 25

I am setting this value of the field but it is throwing error below

"scheduledTimeForOrderAsIso8601" => "2021-09-24T14:15:22Z",

 [timestamp] => 2021-09-08T14:39:53.821+0000
    [status] => 400
    [error] => Bad Request
    [exception] => org.springframework.http.converter.HttpMessageNotReadableException
    [message] => JSON parse error: Cannot deserialize value of type `java.time.OffsetDateTime` from String "2021-09-25T23:21:46.000000Z": Failed to deserialize java.time.OffsetDateTime: (java.time.format.DateTimeParseException) Text '2021-09-25T23:21:46.000000Z' could not be parsed at index 23; nested exception is com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type `java.time.OffsetDateTime` from String "2021-09-25T23:21:46.000000Z": Failed to deserialize java.time.OffsetDateTime: (java.time.format.DateTimeParseException) Text '2021-09-25T23:21:46.000000Z' could not be parsed at index 23
 at [Source: (PushbackInputStream); line: 1, column: 526] (through reference chain: com.ikentoo.ape.dto.rest.ToGoOrder["scheduledTimeForOrderAsIso8601"])
    [path] => /o/op/1/order/toGo

I cannot see any docs for such issue or errors.

There must be some different programming languages example there for such issue and error.


Please guide and help.

1 comment

Sign In or Register to comment.