Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.7.3 Date parsing issue with HyperwalletPrepaidCard #133

Open
kehernandez7 opened this issue Jun 17, 2021 · 0 comments
Open

1.7.3 Date parsing issue with HyperwalletPrepaidCard #133

kehernandez7 opened this issue Jun 17, 2021 · 0 comments

Comments

@kehernandez7
Copy link

kehernandez7 commented Jun 17, 2021

While attempting to use the SDK for PrepaidCards, kept getting a date issue on the dateOfExpiry field.

com.hyperwallet.clientsdk.HyperwalletException: com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type `java.util.Date` from String "2023-08": not a valid representation (error: Failed to parse Date value '2023-08': Cannot parse date "2023-08": while it seems to fit format 'yyyy-MM-dd', parsing fails (leniency? null))

This issue appears when using listPrepaidCards and getPrepaidCard

edit: I noticed that this is fixed in the latest 2.x.x, but we are only able to use the v3 endpoints currently. Is there a way to add the fix to version 1.x.x?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant