Error Code Portal
Node.jsNode.jsError code

ERR_CRYPTO_INVALID_KEYTYPE

crypto invalid keytype

Code ERR_CRYPTO_INVALID_KEYTYPE · An issue reported by Node.js.

An invalid key type was provided.

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.