enum RPCErrorCodes

external
export declare enum RPCErrorCodes

See also: https://discord.com/developers/docs/topics/opcodes-and-status-codes#rpc-rpc-error-codes

Members

external
CaptureShortcutAlreadyListening = 5004

You tried to capture more than one shortcut key at once.

external
GetGuildTimedOut = 5002

An asynchronous GET_GUILD command timed out.

external
InvalidActivityJoinRequest = 4012

external
InvalidActivitySecret = 5005

external
InvalidChannel = 4005

Invalid channel ID specified.

external
InvalidClientId = 4007

An invalid OAuth2 application ID was used to authorize or authenticate with.

external
InvalidCommand = 4002

Invalid command name specified.

external
InvalidEntitlement = 4013

external
InvalidEvent = 4004

Invalid event name specified.

external
InvalidGiftCode = 4014

external
InvalidGuild = 4003

Invalid guild ID specified.

external
InvalidInvite = 4011

external
InvalidOrigin = 4008

An invalid OAuth2 application origin was used to authorize or authenticate with.

external
InvalidPayload = 4000

You sent an invalid payload.

external
InvalidPermissions = 4006

You lack permissions to access the given resource.

external
InvalidToken = 4009

An invalid OAuth2 token was used to authorize or authenticate with.

external
InvalidUser = 4010

The specified user ID was invalid.

external
NoEligibleActivity = 5006

external
OAuth2Error = 5000

A standard OAuth2 error occurred; check the data object for the OAuth2 error details.

external
PurchaseCanceled = 5007

external
PurchaseError = 5008

external
RateLimited = 5010

external
SelectChannelTimedOut = 5001

An asynchronous SELECT_TEXT_CHANNEL/SELECT_VOICE_CHANNEL command timed out.

external
SelectVoiceForceRequired = 5003

You tried to join a user to a voice channel but the user was already in one.

external
ServiceUnavailable = 1001

external
TransactionAborted = 1002

external
UnauthorizedForAchievement = 5009

external
UnknownError = 1000

An unknown error occurred.