ERR_CRYPTO_INVALID_KEYTYPE node type_error official true

Invalid key type

ID: node/err_crypto_invalid_keytype

Also available as: JSON · Markdown
0%Fix Rate
95%Confidence
0Evidence

Version Compatibility

VersionStatusIntroducedDeprecatedNotes
18 active
20 active
22 active

Root Cause

The key type does not match the expected type for the operation.

generic

Official Documentation

https://nodejs.org/api/errors.html