Error Code Portal
Node.jsNode.jsError code

ERR_CRYPTO_ECDH_INVALID_FORMAT

crypto ecdh invalid format

Code ERR_CRYPTO_ECDH_INVALID_FORMAT · An issue reported by Node.js.

An invalid value for the format argument was passed to the crypto.ECDH() class getPublicKey() method.

Troubleshooting and diagnostic links

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