Skip to content
JS
Errors

Node.js errors

ERR_* codes, module resolution and runtime errors.

462 entries1 written pages
Showing 151 to 200 of 462Source: Node.js documentation
CodeError
ERR_HTTP2_PING_CANCELAn HTTP/2 ping was canceled.
ERR_HTTP2_PING_LENGTHHTTP/2 ping payloads must be exactly 8 bytes in length.
ERR_HTTP2_PSEUDOHEADER_NOT_ALLOWEDAn HTTP/2 pseudo-header has been used inappropriately. Pseudo-headers are header key names that begin with the : prefix.
ERR_HTTP2_PUSH_DISABLEDAn attempt was made to create a push stream, which had been disabled by the client.
ERR_HTTP2_SEND_FILEAn attempt was made to use the Http2Stream.prototype.responseWithFile() API to send a directory.
ERR_HTTP2_SEND_FILE_NOSEEKAn attempt was made to use the Http2Stream.prototype.responseWithFile() API to send something other than a regular file, but offset or length options were provided.
ERR_HTTP2_SESSION_ERRORThe Http2Session closed with a non-zero error code.
ERR_HTTP2_SETTINGS_CANCELThe Http2Session settings canceled.
ERR_HTTP2_SOCKET_BOUNDAn attempt was made to connect a Http2Session object to a net.Socket or tls.TLSSocket that had already been bound to another Http2Session object.
ERR_HTTP2_SOCKET_UNBOUNDAn attempt was made to use the socket property of an Http2Session that has already been closed.
ERR_HTTP2_STATUS_101Use of the 101 Informational status code is forbidden in HTTP/2.
ERR_HTTP2_STATUS_INVALIDAn invalid HTTP status code has been specified. Status codes must be an integer between 100 and 599 (inclusive).
ERR_HTTP2_STREAM_CANCELAn Http2Stream was destroyed before any data was transmitted to the connected peer.
ERR_HTTP2_STREAM_CLOSEDUsed when an action has been performed on an HTTP/2 Stream that has already been closed.
ERR_HTTP2_STREAM_ERRORA non-zero error code was been specified in an RST_STREAM frame.
ERR_HTTP2_STREAM_SELF_DEPENDENCYWhen setting the priority for an HTTP/2 stream, the stream may be marked as a dependency for a parent stream. This error code is used when an attempt is made to mark a stream and dependent of itself.
ERR_HTTP2_TOO_MANY_CUSTOM_SETTINGSThe number of supported custom settings (10) has been exceeded.
ERR_HTTP2_TOO_MANY_INVALID_FRAMESThe limit of acceptable invalid HTTP/2 protocol frames sent by the peer, as specified through the maxSessionInvalidFrames option, has been exceeded.
ERR_HTTP2_TOO_MANY_ORIGINSThe number of uniq origin sent by the server has exceeded the value defined in options.maxOriginSetSize.
ERR_HTTP2_TRAILERS_ALREADY_SENTTrailing headers have already been sent on the Http2Stream.
ERR_HTTP2_TRAILERS_NOT_READYThe http2stream.sendTrailers() method cannot be called until after the 'wantTrailers' event is emitted on an Http2Stream object. The 'wantTrailers' event will only be emitted if the waitForTrailers option is set for the Http2Stream.
ERR_HTTP2_UNSUPPORTED_PROTOCOLhttp2.connect() was passed a URL that uses any protocol other than http: or https:.
ERR_HTTP_BODY_NOT_ALLOWEDAn error is thrown when writing to an HTTP response which does not allow contents.
ERR_HTTP_CONTENT_LENGTH_MISMATCHResponse body size doesn't match with the specified content-length header value.
ERR_HTTP_HEADERS_SENTAn attempt was made to add more headers after the headers had already been sent.
ERR_HTTP_INVALID_CHARUsed when an invalid character is found in an HTTP response status message (reason phrase).
ERR_HTTP_INVALID_HEADER_VALUEAn invalid HTTP header value was specified.
ERR_HTTP_INVALID_STATUS_CODEStatus code was outside the regular status code range (100-999).
ERR_HTTP_REQUEST_TIMEOUTThe client has not sent the entire request within the allowed time.
ERR_HTTP_SOCKET_ASSIGNEDThe given ServerResponse was already assigned a socket.
ERR_HTTP_SOCKET_ENCODINGChanging the socket encoding is not allowed per RFC 7230 Section 3.
ERR_HTTP_TRAILER_INVALIDThe Trailer header was set even though the transfer encoding does not support that.
ERR_ILLEGAL_CONSTRUCTORAn attempt was made to construct an object using a non-public constructor.
ERR_IMPORT_ASSERTION_TYPE_FAILEDAn import assertion has failed, preventing the specified module to be imported.
ERR_IMPORT_ASSERTION_TYPE_MISSINGAn import assertion is missing, preventing the specified module to be imported.
ERR_IMPORT_ASSERTION_TYPE_UNSUPPORTEDAn import attribute is not supported by this version of Node.js.
ERR_IMPORT_ATTRIBUTE_MISSINGAn import attribute is missing, preventing the specified module to be imported.
ERR_IMPORT_ATTRIBUTE_TYPE_INCOMPATIBLEAn import type attribute was provided, but the specified module is of a different type.
ERR_IMPORT_ATTRIBUTE_UNSUPPORTEDAn import attribute is not supported by this version of Node.js.
ERR_INCOMPATIBLE_OPTION_PAIRAn option pair is incompatible with each other and cannot be used at the same time.
ERR_INDEX_OUT_OF_RANGEA given index was out of the accepted range (e.g. negative offsets).
ERR_INPUT_TYPE_NOT_ALLOWEDThe --input-type flag was used to attempt to execute a file. This flag can only be used with input via --eval, --print, or STDIN.
ERR_INSPECTOR_ALREADY_ACTIVATEDWhile using the node:inspector module, an attempt was made to activate the inspector when it already started to listen on a port. Use inspector.close() before activating it on a different address.
ERR_INSPECTOR_ALREADY_CONNECTEDWhile using the node:inspector module, an attempt was made to connect when the inspector was already connected.
ERR_INSPECTOR_CLOSEDWhile using the node:inspector module, an attempt was made to use the inspector after the session had already closed.
ERR_INSPECTOR_COMMANDAn error occurred while issuing a command via the node:inspector module.
ERR_INSPECTOR_NOT_ACTIVEThe inspector is not active when inspector.waitForDebugger() is called.
ERR_INSPECTOR_NOT_AVAILABLEThe node:inspector module is not available for use.
ERR_INSPECTOR_NOT_CONNECTEDWhile using the node:inspector module, an attempt was made to use the inspector before it was connected.
ERR_INSPECTOR_NOT_WORKERAn API was called on the main thread that can only be used from the worker thread.

Other families: JavaScript, npm, React, Next.js, TypeScript, Vite, webpack, Jest