$ errors.fyi/pyjwt/InvalidKeyError 141 namespaces · 4,332 codes
pyjwt · pyjwt/InvalidKeyError
InvalidKeyError

InvalidKeyError

Raised when the key passed to jwt.encode() or jwt.decode() is not in the format the chosen algorithm expects — for example passing a raw string where a PEM-formatted RSA/EC key object is required, or a malformed PEM block.

References

In this namespace

» community-maintained · contribute on GitHub npm i -g errors-fyi && errorfyi ENOENT