-
Notifications
You must be signed in to change notification settings - Fork 45
Description
Hello, I am using version 0.0.61 in Maven and the following error returns when I try to deserialize the object. InlineResponse2011
The API response has the following structure:
{
"id": "81021704004",
"submitTimeUtc": "2024-02-12T19:42:59Z",
"status": "SUCCESS",
"registrationInformation": {
"mode": "COMPLETE",
"boardingPackageId": "15583004004"
},
.....
I think it is failing on the date according to the error:
Invalid format: "2024-02-12T19:57:46Z" is malformed at "T19:57:46Z"
at org.joda.time.format.DateTimeFormatter.parseLocalDateTime(DateTimeFormatter.java:900)
at org.joda.time.format.DateTimeFormatter.parseLocalDate(DateTimeFormatter.java:844)
at Invokers.LocalDateTypeAdapter.read(JSON.java:222)
at Invokers.LocalDateTypeAdapter.read(JSON.java:201)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:131)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:222)
at com.google.gson.Gson.fromJson(Gson.java:963)
at com.google.gson.Gson.fromJson(Gson.java:928)
at com.google.gson.Gson.fromJson(Gson.java:877)
at Invokers.JSON.deserialize(JSON.java:103)
at Invokers.ApiClient.deserialize(ApiClient.java:1059)
at Invokers.ApiClient.handleResponse(ApiClient.java:1283)
at Invokers.ApiClient.execute(ApiClient.java:1203)
at Api.MerchantBoardingApi.postRegistrationWithHttpInfo(MerchantBoardingApi.java:305)
at Api.MerchantBoardingApi.postRegistration(MerchantBoardingApi.java:289)
