I have the following error when creating the JWT connection:
Error: (‘The key data could not be deserialized. The data may be in an incorrect format, may be encrypted with an unsupported algorithm, or may be an unsupported key type (for example, EC curves with explicit parameters).’, €<OpenSSLError (code=503841036, lib=60, reason=524556, text_reason=unsupported)>])
Page 1 / 1
Hi @user205
I think your code can’t read the Private Key part.
You probably need to add an additional step before this query, to encode / decode the PEM.
You should take a look to this page : python - ValueError: Could not deserialize key data during jwt encoding - Stack Overflow
Maybe you need to install Cryptography.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.