Error Code Portal
Node.jsNode.jsError code

ERR_INVALID_ASYNC_ID

invalid async id

Code ERR_INVALID_ASYNC_ID · An issue reported by Node.js.

An invalid asyncId or triggerAsyncId was passed using AsyncHooks. An id less than -1 should never happen.

Troubleshooting and diagnostic links

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