You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to retrieve a user that has been created using a SAML connection, I get this error:
com.fasterxml.jackson.databind.JsonMappingException: json did not match any of the possible type references: [com.clerk.backend_api.models.components.Oauth, com.clerk.backend_api.models.components.Admin, com.clerk.backend_api.models.components.Otp], json=
{"status":"verified","strategy":"saml","attempts":null,"expire_at":null}
The json looks like a com.clerk.backend_api.models.components.Admin class, however the VerificationStrategy enum only has 'admin' as a legal value. As you can see, for some users the strategy might differ. This seems to be a quirk of the underlying Clerk API
The text was updated successfully, but these errors were encountered:
I've also just hit this issue when calling sdk.users().get(id)
json did not match any of the possible type references: [com.clerk.backend_api.models.components.Oauth, com.clerk.backend_api.models.components.Admin, com.clerk.backend_api.models.components.Otp], json=
{"status":"verified","strategy":"email_link","attempts":null,"expire_at":1739212210575,"verified_at_client":"client_2srRK1Fg9z8MgdHn1YLFv29CjZx"}
This just started happening. This is a core feature that is now broken and it kinda ruing my confidence in this SDK.
When I try to retrieve a user that has been created using a SAML connection, I get this error:
The json looks like a
com.clerk.backend_api.models.components.Admin
class, however theVerificationStrategy
enum only has 'admin' as a legal value. As you can see, for some users the strategy might differ. This seems to be a quirk of the underlying Clerk APIThe text was updated successfully, but these errors were encountered: