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. 81 documented errors.

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