expo-server-sdk-java icon indicating copy to clipboard operation
expo-server-sdk-java copied to clipboard

`InvalidCredentials` enum value missing from `TicketError`

Open wallind opened this issue 4 years ago • 0 comments

java.lang.IllegalArgumentException: Cannot deserialize value of type `io.github.jav.exposerversdk.enums.TicketError` from String "InvalidCredentials": not one of the values accepted for Enum class: [DeviceNotRegistered] at [Source: UNKNOWN; line: -1, column: -1] 

Currently the TicketError enum specifies the only possible error to be DeviceNotRegistered. As seen above it is possible at runtime for InvalidCredentials error to find it's way into this enum class.

This issue would have InvalidCredentials be added to the possible enum values for the class.

wallind avatar Aug 27 '21 15:08 wallind