I got the exception:
feign.FeignException: Cannot deserialize value of typejava.util.ArrayListfrom Object value (tokenJsonToken.START_OBJECT) at [Source: (BufferedReader); line: 525, column: 11] (through reference chain: com.mailgun.model.events.EventsResponse$EventsResponseBuilder["items"]->java.util.ArrayList[12]->com.mailgun.model.events.EventItem$EventItemBuilder["message"]->com.mailgun.model.events.EventMessage$EventMessageBuilder["attachments"]->java.util.ArrayList[0])
when I called events API and retrieve the events that have attachments
As I checked, the type of "attachments" field is List but the API returns List
I got the exception:
feign.FeignException: Cannot deserialize value of type
java.util.ArrayListfrom Object value (token
JsonToken.START_OBJECT) at [Source: (BufferedReader); line: 525, column: 11] (through reference chain: com.mailgun.model.events.EventsResponse$EventsResponseBuilder["items"]->java.util.ArrayList[12]->com.mailgun.model.events.EventItem$EventItemBuilder["message"]->com.mailgun.model.events.EventMessage$EventMessageBuilder["attachments"]->java.util.ArrayList[0])
when I called events API and retrieve the events that have attachmentsAs I checked, the type of "attachments" field is List but the API returns List
Thank you a lot for taking a look at this issue!