Skip to content

Known issues and how to resolve them

Igor Balos edited this page Apr 19, 2018 · 23 revisions

We noticed that there are cases when you might receive an com.fasterxml.jackson.databind.exc.InvalidFormatException error when using the library.

Error could look something like this:

com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not deserialize value of type java.util.Date from String "2018-04-17T14:50:37.4008047-04:00": not a valid representation (error: Failed to parse Date value '2018-04-17T14:50:37.4008047-05:00': Can not parse date "2018-04-17T14:50:37.4008047-0500": while it seems to fit format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ', parsing fails (leniency? null))

The reason why you would see this error is since older versions of Jackson library have a problem with parsing fractional timezones.

The issue was fixed in version 2.9.2. Make sure that you are using up to date version of Jackson, and you should not see this issue. Double check version when trying out the library.