Skip to content

1.7.3 Date parsing issue with HyperwalletPrepaidCard #133

@kehernandez7

Description

@kehernandez7

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions