Skip to content
JS
Node.js error

ERR_TRAILING_JUNK_AFTER_STREAM_END

Trailing junk found after the end of the compressed stream. This error is thrown when extra, unexpected data is detected after the end of a compressed stream (for example, in zlib or gzip decompression).

Reference entryNode.jsFetched

Node.js documentation lists the code ERR_TRAILING_JUNK_AFTER_STREAM_END without the printed message text.

Category
Node.js error codes
Severity
error
Runtime
node
or press Cmd/Ctrl + Enter. The text is only sent to this site to match it.
Source: Node.js documentation. Data fetched 2026-09-25T01:43:12.380Z.