Skip to main content
Version: 0.37.110

RESTJSONErrorCodes

Index

Enumeration Members

Enumeration Members

APIResourceOverloaded

APIResourceOverloaded: 130000 = 130000

ActionCannotBePerformedDueToSlowmodeRateLimit

ActionCannotBePerformedDueToSlowmodeRateLimit: 20016 = 20016

AnEntitlementHasAlreadyBeenGrantedForThisResource

AnEntitlementHasAlreadyBeenGrantedForThisResource: 40074 = 40074

AnnouncementEditLimitExceeded

AnnouncementEditLimitExceeded: 20022 = 20022

ApplicationCommandWithThatNameAlreadyExists

ApplicationCommandWithThatNameAlreadyExists: 40041 = 40041

ApplicationInteractionFailedToSend

ApplicationInteractionFailedToSend: 40043 = 40043

ApplicationNotYetAvailable

ApplicationNotYetAvailable: 110001 = 110001

BitrateIsTooHighForChannelOfThisType

BitrateIsTooHighForChannelOfThisType: 30052 = 30052

BotsCannotUseThisEndpoint

BotsCannotUseThisEndpoint: 20001 = 20001

CannotConvertBetweenPremiumEmojiAndNormalEmoji

CannotConvertBetweenPremiumEmojiAndNormalEmoji: 50145 = 50145

CannotDeleteChannelRequiredForCommunityGuilds

CannotDeleteChannelRequiredForCommunityGuilds: 50074 = 50074

CannotDeleteGuildSubscriptionIntegration

CannotDeleteGuildSubscriptionIntegration: 50163 = 50163

CannotEditAPollMessage

CannotEditAPollMessage: 520003 = 520003

CannotEditMessageAuthoredByAnotherUser

CannotEditMessageAuthoredByAnotherUser: 50005 = 50005

CannotEditStickersWithinMessage

CannotEditStickersWithinMessage: 50080 = 50080

CannotEnableOnboardingRequirementsAreNotMet

CannotEnableOnboardingRequirementsAreNotMet: 350000 = 350000

CannotExecuteActionOnDMChannel

CannotExecuteActionOnDMChannel: 50003 = 50003

CannotExecuteActionOnSystemMessage

CannotExecuteActionOnSystemMessage: 50021 = 50021

CannotExecuteActionOnThisChannelType

CannotExecuteActionOnThisChannelType: 50024 = 50024

CannotExpireANonPollMessage

CannotExpireANonPollMessage: 520006 = 520006

CannotMixSubscriptionAndNonSubscriptionRolesForAnEmoji

CannotMixSubscriptionAndNonSubscriptionRolesForAnEmoji: 50144 = 50144

CannotModifyASystemWebhook

CannotModifyASystemWebhook: 50073 = 50073

CannotReplyWithoutPermissionToReadMessageHistory

CannotReplyWithoutPermissionToReadMessageHistory: 160002 = 160002

CannotSelfRedeemThisGift

CannotSelfRedeemThisGift: 50054 = 50054

CannotSendAMessageInAForumChannel

CannotSendAMessageInAForumChannel: 40058 = 40058

CannotSendAnEmptyMessage

CannotSendAnEmptyMessage: 50006 = 50006

CannotSendMessagesInNonTextChannel

CannotSendMessagesInNonTextChannel: 50008 = 50008

CannotSendMessagesToThisUser

CannotSendMessagesToThisUser: 50007 = 50007

CannotUpdateAFinishedEvent

CannotUpdateAFinishedEvent: 180000 = 180000

CannotUpdateOnboardingWhileBelowRequirements

CannotUpdateOnboardingWhileBelowRequirements: 350001 = 350001

CannotUseAnEmojiIncludedWithThePoll

CannotUseAnEmojiIncludedWithThePoll: 520004 = 520004

ChannelSendRateLimit

ChannelSendRateLimit: 20028 = 20028

ChannelVerificationLevelTooHighForYouToGainAccess

ChannelVerificationLevelTooHighForYouToGainAccess: 50009 = 50009

CloudflareIsBlockingYourRequest

CloudflareIsBlockingYourRequest: 40333 = 40333

CommunityServerChannelsMustBeTextChannels

CommunityServerChannelsMustBeTextChannels: 50086 = 50086

ConnectionHasBeenRevoked

ConnectionHasBeenRevoked: 40012 = 40012

ExplicitContentCannotBeSentToTheDesiredRecipient

ExplicitContentCannotBeSentToTheDesiredRecipient: 20009 = 20009

FailedToBanUsers

FailedToBanUsers: 500000 = 500000

FailedToCreateStageNeededForStageEvent

FailedToCreateStageNeededForStageEvent: 180002 = 180002

FailedToResizeAssetBelowTheMinimumSize

FailedToResizeAssetBelowTheMinimumSize: 50138 = 50138

FeatureTemporarilyDisabledServerSide

FeatureTemporarilyDisabledServerSide: 40006 = 40006

FileUploadedExceedsMaximumSize

FileUploadedExceedsMaximumSize: 50045 = 50045

GeneralError

GeneralError: 0 = 0

GuildAlreadyHasTemplate

GuildAlreadyHasTemplate: 30031 = 30031

GuildPremiumSubscriptionLevelTooLow

GuildPremiumSubscriptionLevelTooLow: 20035 = 20035

GuildWidgetDisabled

GuildWidgetDisabled: 50004 = 50004

InteractionHasAlreadyBeenAcknowledged

InteractionHasAlreadyBeenAcknowledged: 40060 = 40060

InvalidAPIVersion

InvalidAPIVersion: 50041 = 50041

InvalidAccountType

InvalidAccountType: 50002 = 50002

InvalidActionOnArchivedThread

InvalidActionOnArchivedThread: 50083 = 50083

InvalidActivityAction

InvalidActivityAction: 50039 = 50039

InvalidChannelTypeForPollCreation

InvalidChannelTypeForPollCreation: 520002 = 520002

InvalidFileUploaded

InvalidFileUploaded: 50046 = 50046

InvalidFormBodyOrContentType

InvalidFormBodyOrContentType: 50035 = 50035

InvalidGuild

InvalidGuild: 50055 = 50055

InvalidJSONForUploadedLottieFile

InvalidJSONForUploadedLottieFile: 170001 = 170001

InvalidMFALevel

InvalidMFALevel: 50017 = 50017

InvalidMessageType

InvalidMessageType: 50068 = 50068

InvalidOAuth2AccessToken

InvalidOAuth2AccessToken: 50025 = 50025

InvalidOAuth2State

InvalidOAuth2State: 50012 = 50012

InvalidRecipients

InvalidRecipients: 50033 = 50033

InvalidRequestOrigin

InvalidRequestOrigin: 50067 = 50067

InvalidRole

InvalidRole: 50028 = 50028

InvalidSKU

InvalidSKU: 50057 = 50057

InvalidStickerSent

InvalidStickerSent: 50081 = 50081

InvalidThreadNotificationSettings

InvalidThreadNotificationSettings: 50084 = 50084

InvalidToken

InvalidToken: 50014 = 50014

InvalidWebhookToken

InvalidWebhookToken: 50027 = 50027

InviteAcceptedToGuildWithoutTheBotBeingIn

InviteAcceptedToGuildWithoutTheBotBeingIn: 50036 = 50036

InviteCodeInvalidOrTaken

InviteCodeInvalidOrTaken: 50020 = 50020

LottieAnimationMaximumDimensionsExceeded

LottieAnimationMaximumDimensionsExceeded: 170005 = 170005

MaximumActiveAnnouncementThreads

MaximumActiveAnnouncementThreads: 160007 = 160007

MaximumActiveThreads

MaximumActiveThreads: 160006 = 160006

MaximumDailyApplicationCommandCreatesReached

MaximumDailyApplicationCommandCreatesReached: 30034 = 30034

MaximumNumberOfAnimatedEmojisReached

MaximumNumberOfAnimatedEmojisReached: 30018 = 30018

MaximumNumberOfApplicationCommandsReached

MaximumNumberOfApplicationCommandsReached: 30032 = 30032

MaximumNumberOfAttachmentsInAMessageReached

MaximumNumberOfAttachmentsInAMessageReached: 30015 = 30015

MaximumNumberOfBanFetchesHasBeenReached

MaximumNumberOfBanFetchesHasBeenReached: 30037 = 30037

MaximumNumberOfChannelPermissionOverwritesReached

MaximumNumberOfChannelPermissionOverwritesReached: 30060 = 30060

MaximumNumberOfEditsToMessagesOlderThanOneHourReached

MaximumNumberOfEditsToMessagesOlderThanOneHourReached: 30046 = 30046

MaximumNumberOfEmojisReached

MaximumNumberOfEmojisReached: 30008 = 30008

MaximumNumberOfFriendsReached

MaximumNumberOfFriendsReached: 30002 = 30002

MaximumNumberOfGroupDMsReached

MaximumNumberOfGroupDMsReached: 30011 = 30011

MaximumNumberOfGuildChannelsReached

MaximumNumberOfGuildChannelsReached: 30013 = 30013

MaximumNumberOfGuildRolesReached

MaximumNumberOfGuildRolesReached: 30005 = 30005

MaximumNumberOfGuildWidgetSettingsUpdatesHasBeenReached

MaximumNumberOfGuildWidgetSettingsUpdatesHasBeenReached: 30042 = 30042

MaximumNumberOfGuildsReached

MaximumNumberOfGuildsReached: 30001 = 30001

MaximumNumberOfInvitesReached

MaximumNumberOfInvitesReached: 30016 = 30016

MaximumNumberOfNonGuildMemberBansHasBeenExceeded

MaximumNumberOfNonGuildMemberBansHasBeenExceeded: 30035 = 30035

MaximumNumberOfPinnedThreadsInForumHasBeenReached

MaximumNumberOfPinnedThreadsInForumHasBeenReached: 30047 = 30047

MaximumNumberOfPinsReachedForTheChannel

MaximumNumberOfPinsReachedForTheChannel: 30003 = 30003

MaximumNumberOfPremiumEmojisReached

MaximumNumberOfPremiumEmojisReached: 30056 = 30056

MaximumNumberOfPruneRequestsHasBeenReached

MaximumNumberOfPruneRequestsHasBeenReached: 30040 = 30040

MaximumNumberOfReactionsReached

MaximumNumberOfReactionsReached: 30010 = 30010

MaximumNumberOfRecipientsReached

MaximumNumberOfRecipientsReached: 30004 = 30004

MaximumNumberOfServerCategoriesReached

MaximumNumberOfServerCategoriesReached: 30030 = 30030

MaximumNumberOfServerMembersReached

MaximumNumberOfServerMembersReached: 30019 = 30019

MaximumNumberOfSoundboardSoundsReached

MaximumNumberOfSoundboardSoundsReached: 30045 = 30045

MaximumNumberOfStickersReached

MaximumNumberOfStickersReached: 30039 = 30039

MaximumNumberOfTagsInForumHasBeenReached

MaximumNumberOfTagsInForumHasBeenReached: 30048 = 30048

MaximumNumberOfUncompletedGuildScheduledEventsReached

MaximumNumberOfUncompletedGuildScheduledEventsReached: 30038 = 30038

MaximumNumberOfWebhooksPerGuildReached

MaximumNumberOfWebhooksPerGuildReached: 30058 = 30058

MaximumNumberOfWebhooksReached

MaximumNumberOfWebhooksReached: 30007 = 30007

MaximumThreadParticipantsReached

MaximumThreadParticipantsReached: 30033 = 30033

MessageBlockedByHarmfulLinksFilter

MessageBlockedByHarmfulLinksFilter: 240000 = 240000

MessageCanOnlyBePinnedInTheChannelItWasSentIn

MessageCanOnlyBePinnedInTheChannelItWasSentIn: 50019 = 50019

MessageWasBlockedByAutomaticModeration

MessageWasBlockedByAutomaticModeration: 200000 = 200000

MissingAccess

MissingAccess: 50001 = 50001

MissingPermissions

MissingPermissions: 50013 = 50013

MissingRequiredOAuth2Scope

MissingRequiredOAuth2Scope: 50026 = 50026

NoUsersWithDiscordTagExist

NoUsersWithDiscordTagExist: 80004 = 80004

NotAuthorizedToPerformThisActionOnThisApplication

NotAuthorizedToPerformThisActionOnThisApplication: 20012 = 20012

NoteWasTooLong

NoteWasTooLong: 50015 = 50015

OAuth2ApplicationDoesNotHaveBot

OAuth2ApplicationDoesNotHaveBot: 50010 = 50010

OAuth2ApplicationLimitReached

OAuth2ApplicationLimitReached: 50011 = 50011

OneOfTheMessagesProvidedWasTooOldForBulkDelete

OneOfTheMessagesProvidedWasTooOldForBulkDelete: 50034 = 50034

OnlyBotsCanUseThisEndpoint

OnlyBotsCanUseThisEndpoint: 20002 = 20002

OnlyConsumableSKUsCanBeConsumed

OnlyConsumableSKUsCanBeConsumed: 40018 = 40018

OnlyTheOwnerOfThisAccountCanPerformThisAction

OnlyTheOwnerOfThisAccountCanPerformThisAction: 20018 = 20018

OpeningDirectMessagesTooFast

OpeningDirectMessagesTooFast: 40003 = 40003

OwnerCannotBePendingMember

OwnerCannotBePendingMember: 50131 = 50131

OwnershipCannotBeMovedToABotUser

OwnershipCannotBeMovedToABotUser: 50132 = 50132

ParameterEarlierThanCreation

ParameterEarlierThanCreation: 50085 = 50085

PaymentSourceRequiredToRedeemGift

PaymentSourceRequiredToRedeemGift: 50070 = 50070

PollExpired

PollExpired: 520001 = 520001

PollVotingBlocked

PollVotingBlocked: 520000 = 520000

ProvidedFileDoesNotHaveAValidDuration

ProvidedFileDoesNotHaveAValidDuration: 50192 = 50192

ProvidedFileDurationExceedsMaximumLength

ProvidedFileDurationExceedsMaximumLength: 50124 = 50124

ProvidedFileIsInvalid

ProvidedFileIsInvalid: 50110 = 50110

ProvidedFileTypeIsInvalid

ProvidedFileTypeIsInvalid: 50123 = 50123

ProvidedTooFewOrTooManyMessagesToDelete

ProvidedTooFewOrTooManyMessagesToDelete: 50016 = 50016

ReactionWasBlocked

ReactionWasBlocked: 90001 = 90001

RequestBodyContainsInvalidJSON

RequestBodyContainsInvalidJSON: 50109 = 50109

RequestEntityTooLarge

RequestEntityTooLarge: 40005 = 40005

SendMessagesHasBeenTemporarilyDisabled

SendMessagesHasBeenTemporarilyDisabled: 40004 = 40004

ServerNeedsMonetizationEnabledToPerformThisAction

ServerNeedsMonetizationEnabledToPerformThisAction: 50097 = 50097

ServerNeedsMoreBoostsToPerformThisAction

ServerNeedsMoreBoostsToPerformThisAction: 50101 = 50101

ServerNotAvailableInYourLocation

ServerNotAvailableInYourLocation: 50095 = 50095

ServerSendRateLimit

ServerSendRateLimit: 20029 = 20029

ServiceResourceIsBeingRateLimited

ServiceResourceIsBeingRateLimited: 40062 = 40062

SpecifiedEmojiIsInvalid

SpecifiedEmojiIsInvalid: 50151 = 50151

StageTopicServerNameServerDescriptionOrChannelNamesContainDisallowedWords

StageTopicServerNameServerDescriptionOrChannelNamesContainDisallowedWords: 20031 = 20031

StickerAnimationDurationExceedsMaximumOf5Seconds

StickerAnimationDurationExceedsMaximumOf5Seconds: 170007 = 170007

StickerFrameCountExceedsMaximumOf1000Frames

StickerFrameCountExceedsMaximumOf1000Frames: 170004 = 170004

StickerFramerateIsTooSmallOrTooLarge

StickerFramerateIsTooSmallOrTooLarge: 170006 = 170006

StickerMaximumFramerateExceeded

StickerMaximumFramerateExceeded: 170003 = 170003

TagNamesMustBeUnique

TagNamesMustBeUnique: 40061 = 40061

TagRequiredToCreateAForumPostInThisChannel

TagRequiredToCreateAForumPostInThisChannel: 40067 = 40067

TargetUserIsNotConnectedToVoice

TargetUserIsNotConnectedToVoice: 40032 = 40032

TheChannelsForThisGuildAreTooLarge

TheChannelsForThisGuildAreTooLarge: 30061 = 30061

TheEntityTypeOfTheEventIsDifferentFromTheEntityYouAreTryingToStartTheEventFor

TheEntityTypeOfTheEventIsDifferentFromTheEntityYouAreTryingToStartTheEventFor: 50091 = 50091

TheMazeIsntMeantForYou

TheMazeIsntMeantForYou: 20017 = 20017

TheStageIsAlreadyOpen

TheStageIsAlreadyOpen: 150006 = 150006

TheUserAccountMustFirstBeVerified

TheUserAccountMustFirstBeVerified: 50178 = 50178

ThereAreNoTagsAvailableThatCanBeSetByNonModerators

ThereAreNoTagsAvailableThatCanBeSetByNonModerators: 40066 = 40066

ThisInteractionHasHitTheMaximumNumberOfFollowUpMessages

ThisInteractionHasHitTheMaximumNumberOfFollowUpMessages: 40094 = 40094

ThisMessageWasAlreadyCrossposted

ThisMessageWasAlreadyCrossposted: 40033 = 40033

ThreadAlreadyCreatedForMessage

ThreadAlreadyCreatedForMessage: 160004 = 160004

ThreadLocked

ThreadLocked: 160005 = 160005

TitleWasBlockedByAutomaticModeration

TitleWasBlockedByAutomaticModeration: 200001 = 200001

TwoFactorAuthenticationIsRequired

TwoFactorAuthenticationIsRequired: 60003 = 60003

Unauthorized

Unauthorized: 40001 = 40001

UnderMinimumAge

UnderMinimumAge: 20024 = 20024

UnknownAccount

UnknownAccount: 10001 = 10001

UnknownApplication

UnknownApplication: 10002 = 10002

UnknownApplicationCommand

UnknownApplicationCommand: 10063 = 10063

UnknownApplicationCommandPermissions

UnknownApplicationCommandPermissions: 10066 = 10066

UnknownAsset

UnknownAsset: 10021 = 10021

UnknownBan

UnknownBan: 10026 = 10026

UnknownBranch

UnknownBranch: 10032 = 10032

UnknownBuild

UnknownBuild: 10030 = 10030

UnknownChannel

UnknownChannel: 10003 = 10003

UnknownDiscoverableServerCategory

UnknownDiscoverableServerCategory: 10059 = 10059

UnknownEmoji

UnknownEmoji: 10014 = 10014

UnknownEntitlement

UnknownEntitlement: 10029 = 10029

UnknownGiftCode

UnknownGiftCode: 10038 = 10038

UnknownGuild

UnknownGuild: 10004 = 10004

UnknownGuildMemberVerificationForm

UnknownGuildMemberVerificationForm: 10068 = 10068

UnknownGuildScheduledEvent

UnknownGuildScheduledEvent: 10070 = 10070

UnknownGuildScheduledEventUser

UnknownGuildScheduledEventUser: 10071 = 10071

UnknownGuildTemplate

UnknownGuildTemplate: 10057 = 10057

UnknownGuildWelcomeScreen

UnknownGuildWelcomeScreen: 10069 = 10069

UnknownIntegration

UnknownIntegration: 10005 = 10005

UnknownInteraction

UnknownInteraction: 10062 = 10062

UnknownInvite

UnknownInvite: 10006 = 10006

UnknownLobby

UnknownLobby: 10031 = 10031

UnknownMember

UnknownMember: 10007 = 10007

UnknownMessage

UnknownMessage: 10008 = 10008

UnknownPermissionOverwrite

UnknownPermissionOverwrite: 10009 = 10009

UnknownPremiumServerSubscribeCooldown

UnknownPremiumServerSubscribeCooldown: 10050 = 10050

UnknownProvider

UnknownProvider: 10010 = 10010

UnknownRedistributable

UnknownRedistributable: 10036 = 10036

UnknownRole

UnknownRole: 10011 = 10011

UnknownSKU

UnknownSKU: 10027 = 10027

UnknownSession

UnknownSession: 10020 = 10020

UnknownSound

UnknownSound: 10097 = 10097

UnknownStageInstance

UnknownStageInstance: 10067 = 10067

UnknownSticker

UnknownSticker: 10060 = 10060

UnknownStickerPack

UnknownStickerPack: 10061 = 10061

UnknownStoreDirectoryLayout

UnknownStoreDirectoryLayout: 10033 = 10033

UnknownStoreListing

UnknownStoreListing: 10028 = 10028

UnknownStream

UnknownStream: 10049 = 10049

UnknownTag

UnknownTag: 10087 = 10087

UnknownToken

UnknownToken: 10012 = 10012

UnknownUser

UnknownUser: 10013 = 10013

UnknownVoiceState

UnknownVoiceState: 10065 = 10065

UnknownWebhook

UnknownWebhook: 10015 = 10015

UnknownWebhookService

UnknownWebhookService: 10016 = 10016

UploadedFileNotFound

UploadedFileNotFound: 50146 = 50146

UploadedLottiesCannotContainRasterizedImages

UploadedLottiesCannotContainRasterizedImages: 170002 = 170002

UserBannedFromThisGuild

UserBannedFromThisGuild: 40007 = 40007

UserCannotUseBurstReactions

UserCannotUseBurstReactions: 90002 = 90002

VerifyYourAccount

VerifyYourAccount: 40002 = 40002

VoiceMessagesCannotBeEdited

VoiceMessagesCannotBeEdited: 50162 = 50162

VoiceMessagesDoNotSupportAdditionalContent

VoiceMessagesDoNotSupportAdditionalContent: 50159 = 50159

VoiceMessagesMustHaveASingleAudioAttachment

VoiceMessagesMustHaveASingleAudioAttachment: 50160 = 50160

VoiceMessagesMustHaveSupportingMetadata

VoiceMessagesMustHaveSupportingMetadata: 50161 = 50161

WebhookServicesCannotBeUsedInForumChannels

WebhookServicesCannotBeUsedInForumChannels: 220004 = 220004

WebhooksCanOnlyCreateThreadsInForumChannels

WebhooksCanOnlyCreateThreadsInForumChannels: 220003 = 220003

WebhooksPostedToForumChannelsCannotHaveBothAThreadNameAndThreadId

WebhooksPostedToForumChannelsCannotHaveBothAThreadNameAndThreadId: 220002 = 220002

WebhooksPostedToForumChannelsMustHaveAThreadNameOrThreadId

WebhooksPostedToForumChannelsMustHaveAThreadNameOrThreadId: 220001 = 220001

YouCanOnlyDeleteSandboxEntitlements

YouCanOnlyDeleteSandboxEntitlements: 40019 = 40019

YouCannotSendVoiceMessagesInThisChannel

YouCannotSendVoiceMessagesInThisChannel: 50173 = 50173

YouDoNotHavePermissionToSendThisSticker

YouDoNotHavePermissionToSendThisSticker: 50600 = 50600