ErrLookup › discordjs/discord.js

discordjs/discord.js

A powerful JavaScript library for interacting with the Discord API · TypeScript · 1,077 source files

Analyzed at a81ed8a306 on 2026-08-30. 77 documented errors.

Code / MessageTypeSeverityTags
WebSocketShard: transport compression is enabled, disabling…
console info websocket, compression, configuration-conflict, discord
Cannot instantiate WorkerContextFetchingStrategy on the…
exception error worker-threads, nodejs, misconfiguration, threading
Request timed out
exception error gateway, timeout, discord-api
Unsupported encryption method
exception error encryption, voice, gateway-negotiation, range-error
CommandInteractionOptionNotFound
CommandInteractionOptionNotFound
error_code error discord-js, slash-commands, option-name-mismatch
Shard does not exist
exception error discord, websocket, sharding, worker-threads, range-error
Unsupported decryption method
exception error encryption, voice, decryption, range-error
Cannot play audio as no valid encryption package is…
exception critical missing-dependency, encryption, audio, setup
Invalid extension provided
exception error validation, cdn, input-error, range-error
WebSocketShard: Identify compression is enabled, but…
console warning websocket, compression, identify, nodejs, runtime-environment
HTTPError(status, res.statusText, method, url, requestData)
http error http, network, api-error, retry-exhausted, discord-api
Package not releaseable
exception error release, cli, configuration
WebSocketShard: Compression is set to native zlib but…
console warning websocket, compression, nodejs, zlib, runtime-environment
WebSocketShard: Compression is set to native zstd but…
console warning websocket, compression, zstd, nodejs-version, runtime-environment
Malformed IP address
exception error udp, network, voice, packet-parsing
Reduce of empty collection with no initial value
exception error typeerror, empty-collection, reduce, arguments
Expected WorkerBootstrap to not be used within the main…
exception error worker-threads, nodejs, threading, misconfiguration
CommandInteractionOptionType
CommandInteractionOptionType
error_code error discord-js, slash-commands, type-mismatch
CommandInteractionOptionInvalidChannelType
CommandInteractionOptionInvalidChannelType
error_code error discord-js, slash-commands, channel-types, validation
ClientMissingIntents
Valid intents must be provided for the Client.
error_code critical discord-js, missing-intents, client-construction, configuration
Invalid size provided
exception error validation, cdn, input-error, range-error
No worker found for shard
exception error discord, websocket, sharding, worker-threads
Failed to parse packet
exception warning rtp, udp, decryption, packet-parsing
is not a function
exception error collection, typeerror, callback
Shard not found
exception error discord, websocket, sharding, range-error
Phone number must start with a "+" sign.
exception error sapphire, formatters, phone-number, runtime-validation
WebSocketShard: Compression is set to zlib-sync, but it is…
console warning websocket, compression, missing-dependency, zlib-sync, optional-dependency
Invalid pipeline constructed for string resource
exception error audio, ffmpeg, configuration
Cannot properly serialize component type
exception error components, serialization, unsupported-type
Unable to resolve body.
exception error typeerror, request-body, file-upload, undici, client-bug
CommandInteractionOptionNoSubcommand
CommandInteractionOptionNoSubcommand
error_code error discord-js, slash-commands, subcommand
Encountered HTTP 401 with error
console warning http-401, authentication, token, rest
ShardingProcessExists
ShardingProcessExists
error_code error sharding, discordjs, process-lifecycle, double-spawn
Expected token to be set for this request, but none was…
exception error authentication, token, configuration, rest-client
One or more packages have dependents that can't be released
exception error release, dependencies, cycle
FetchOwnerId
FetchOwnerId: guild
error_code error discord-js, guild, unavailable-guild, missing-owner
Cannot set an interval greater than 4 hours
exception error configuration, validation, rest-client, sweeper
InvalidType
InvalidType: user, UserResolvable
error_code error discord-js, audit-logs, invalid-argument-type, user-resolvable
AutocompleteInteractionOptionNoFocusedOption
AutocompleteInteractionOptionNoFocusedOption
error_code error discord-js, autocomplete, focused-option
CommandInteractionOptionNoSubcommandGroup
CommandInteractionOptionNoSubcommandGroup
error_code error discord-js, slash-commands, subcommand-group
GuildChannelOrphan
GuildChannelOrphan
error_code error discord-js, channels, permissions, missing-parent
The --tag option can only be used with --dev
exception error cli, arguments, configuration
InteractionNotReplied
The reply to this interaction has not been sent or deferred.
error_code error interaction, missing-acknowledgement, discord-api, state
ShardingShardMiscalculation
ShardingShardMiscalculation
error_code error sharding, discordjs, validation, snowflake, shard-count
CommandInteractionOptionEmpty
CommandInteractionOptionEmpty
error_code error discord-js, slash-commands, missing-value
Cannot properly serialize button with style
exception error components, buttons, unsupported-type
ShardingNoChildExists
ShardingNoChildExists
error_code error sharding, discordjs, ipc, dead-child-process
ClientNotReady
The client needs to be logged in to
error_code error discord-js, client-not-ready, lifecycle, login-state
InvalidScopesWithPermissions
Permissions cannot be set without the bot scope.
error_code error discord-js, oauth2, permissions, invalid-scopes
ShardingWorkerExists
ShardingWorkerExists
error_code error sharding, discordjs, worker-threads, double-spawn
JSON.stringify(response)
exception error oauth, http, response-parsing
InvalidElement
Supplied includes an invalid element
error_code error discord-js, oauth2, invalid-element, enum-validation
A client id must be provided to login
exception error rpc, configuration, missing-argument, client-id, validation
ClientInvalidOption
ClientInvalidOption: File, specified.
error_code error discord-js, sharding, argument-validation
Resource is already being played by another audio player.
exception error audio, resource-ownership, discord-voice
InvalidMissingScopes
At least one valid scope must be provided for the invite
error_code error discord-js, oauth2, missing-parameter, invite-generation
InteractionAlreadyReplied
The reply to this interaction has already been sent or deferred.
error_code error interaction, double-acknowledgement, discord-api, state
Not enough sessions remaining to spawn
exception error rate-limit, discord-api, session-limit
response.statusText
http error http, oauth, network
Cannot play a resource that has already ended.
exception error audio, stream-lifecycle, discord-voice
No compatible encryption modes. Available include
exception critical voice, encryption, network, version-mismatch
Token has not been set
exception error authentication, configuration, token
Cannot properly serialize section accessory component
exception error components, sections, unsupported-type
fetchGatewayInformation is required
validation error typescript, configuration, constructor
A client secret must be provided for authorization if…
exception error oauth, configuration, missing-argument
Tried to connect a shard that wasn't idle
exception error websocket, lifecycle, state
No session available
exception error voice, mls, dave, lifecycle
BitFieldInvalid
exception error validation, bitfield, invalid-argument
Node type ' ' does not exist!
exception error audio, stream-type, invalid-argument
Cannot convert bitfield value
validation error bigint, bitfield, serialization
Session not available
exception error voice, mls, dave, lifecycle
timestamps.start must fit into a unix timestamp
validation error validation, rich-presence, unix-timestamp
Expected to be a function, received instead.
validation error mixin, types, library-internals
Cannot destroy VoiceConnection - it has already been…
exception error voice, lifecycle, double-destroy
Token has already been set
exception error configuration, token, immutability
WebSocketShard wasn't connected
exception error websocket, connection, lifecycle
timestamps.end must fit into a unix timestamp
validation error validation, rich-presence, unix-timestamp