intercom-java icon indicating copy to clipboard operation
intercom-java copied to clipboard

InvalidFormatException when searching for contacts

Open thomasjetzinger opened this issue 6 months ago • 0 comments

Hi,

I'm going to try to search for a contact by email using the latest version (3.0) of the Intercom java client:

this.intercomClient.contacts().search( SearchRequest.builder() .query(query) .build());

But I always get the following exception:

com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type java.lang.Integerfrom String "2025-06-25T10:57:57Z": not a validjava.lang.Integer value

Looks like that the error is thrown, when trying to parse android_last_seen_at

Thanks for your help!

thomasjetzinger avatar Jun 26 '25 09:06 thomasjetzinger