Enum DiscordErrorCode
- Namespace
- Discord
- Assembly
- Discord.Net.Core.dll
Represents a set of json error codes received by discord.
public enum DiscordErrorCode
Fields
APIOverloaded = 130000
ATagIsRequiredToCreateAForumPostInThisChannel = 40067
ActionSlowmode = 20016
AnnouncementEditRatelimit = 20022
ApplicationInteractionFailedToSend = 40043
ApplicationNameAlreadyExists = 40041
ApplicationNotYetAvailable = 110001
BeforeValueEarlierThanThreadCreation = 50085
BitrateIsTooHighForChannelOfThisType = 30052
BotsCannotUse = 20001
BulkDeleteMessageTooOld = 50034
CannotConvertBetweenPremiumEmojiAndNormalEmoji = 50145
CannotDeleteRequiredCommunityChannel = 50074
CannotEditAPollMessage = 520003
CannotEditOtherUsersMessage = 50005
CannotEditStickersWithinAMessage = 50080
CannotEnableOnboardingUnmetRequirements = 350000
CannotExecuteForDM = 50003
CannotExecuteOnArchivedThread = 50083
CannotExecuteOnChannelType = 50024
CannotExecuteOnSystemMessage = 50021
CannotExpireANonPollMessage = 520006
CannotMixSubscriptionAndNonSubscriptionRolesForAnEmoji = 50144
CannotModifySystemWebhook = 50073
CannotReplyWithoutReadMessageHistory = 160002
CannotSelfRedeemGift = 50054
CannotSendAMessageInAForumChannel = 40058
CannotSendEmptyMessage = 50006
CannotSendExplicitContent = 20009
CannotSendMessageToUser = 50007
CannotSendMessageToVoiceChannel = 50008
CannotSendVoiceMessageInThisChannel = 50173
CannotUpdateFinishedEvent = 180000
CannotUpdateOnboardingBelowRequirements = 350001
CannotUseAnEmojiIncludedWithThePoll = 520004
CannotUseBurstReaction = 90002
ChannelVerificationTooHigh = 50009
ChannelWriteRatelimit = 20028
CommunityServerChannelsMustBeTextChannels = 50086
ConnectionHasBeenRevoked = 40012
FailedStageCreation = 180002
FailedToResizeAssetBelowTheMaximumSize = 50138
FeatureDisabled = 40006
FeatureInProcessOfRollingOut = 50155
FileUploadTooBig = 50045
GeneralError = 0
GuildPremiumTooLow = 20035
GuildTemplateAlreadyExists = 30031
GuildWidgetDisabled = 50004
InsufficientPermissions = 50013
InteractionHasAlreadyBeenAcknowledged = 40060
InvalidAPIVersion = 50041
InvalidAccountType = 50002
InvalidActivityAction = 50039
InvalidAuthenticationToken = 50014
InvalidChannelTypeForPollCreation = 520002
InvalidFileUpload = 50046
InvalidFormBody = 50035
InvalidGuild = 50055
InvalidInvite = 50020
InvalidJSONLottie = 170001
InvalidMFALevel = 50017
InvalidMessageType = 50068
InvalidOAuth2State = 50012
InvalidOAuth2Token = 50025
InvalidPinChannel = 50019
InvalidRecipients = 50033
InvalidRequestOrigin = 50067
InvalidRole = 50028
InvalidSticker = 50081
InvalidThreadNotificationSettings = 50084
InvalidVerification = 40002
InvalidWebhookToken = 50027
InviteAcceptedForGuildThatBotIsntIn = 50036
LottieCantContainRasters = 170002
LottieMaximumDimensionsExceeded = 170005
MaxNumberOfDailyApplicationCommandCreatesHasBeenReached = 30034
MaximumActiveThreadsReached = 160006
MaximumAnimatedEmojisReached = 30018
MaximumAnnouncementThreadsReached = 160007
MaximumAttachmentsReached = 30015
MaximumBanFetchesReached = 30037
MaximumBansForNonGuildMembersReached = 30035
MaximumEmojisReached = 30008
MaximumFriendsReached = 30002
MaximumGuildChannelsReached = 30013
MaximumGuildRolesReached = 30005
MaximumGuildWidgetsReached = 30042
MaximumGuildsReached = 30001
MaximumInvitesReached = 30016
MaximumNumberOfApplicationCommandsReached = 30032
MaximumNumberOfChannelPermissionOverwritesReached = 30060
MaximumNumberOfEditsReached = 30046
MaximumNumberOfGDMsReached = 30011
MaximumNumberOfPinnedThreadsInAForumChannelReached = 30047
MaximumNumberOfPremiumEmojisReached = 30056
MaximumNumberOfTagsInAForumChannelReached = 30048
MaximumNumberOfWebhooksReached = 30058
MaximumPinsReached = 30003
MaximumPruneRequestReached = 30040
MaximumReactionsReached = 30010
MaximumRecipientsReached = 30004
MaximumServerCategoriesReached = 30030
MaximumServerMembersReached = 30019
MaximumStickersReached = 30039
MaximumThreadMembersReached = 30033
MaximumUncompletedGuildScheduledEvents = 30038
MaximumWebhooksReached = 30007
MessageAlreadyContainsThread = 160004
MessageAlreadyCrossposted = 40033
MessageBlockedByHarmfulLinksFilter = 240000
MessageWasBlockedByAutomaticModeration = 200000
MissingOAuth2Scope = 50026
MissingPermissionToSendThisSticker = 50600
MissingPermissions = 50001
NoUsersWithTag = 80004
NoteTooLong = 50015
OAuth2ApplicationDoesntHaveBot = 50010
OAuth2ApplicationLimitReached = 50011
OnlyBotsCanUse = 20002
OnlyOwnerAction = 20018
OpeningDMTooFast = 40003
OwnershipCannotBeTransferredToABotUser = 50132
PaymentSourceRequiredForGift = 50070
PollExpired = 520001
PollVotingBlocked = 520000
ProvidedMessageDeleteCountOutOfBounds = 50016
ReactionBlocked = 90001
RequestBodyContainsInvalidJSON = 50109
RequestEntityTooLarge = 40005
Requires2FA = 60003
SendMessagesHasBeenTemporarilyDisabled = 40004
ServerRequiresBoosts = 50101
ServerRequiresMonetization = 50097
ServiceResourceIsBeingRateLimited = 40062
StageAlreadyOpened = 150006
StickerAnimationDurationTooLong = 170007
StickerFramerateBoundsExceeded = 170006
StickerMaximumFrameCountExceeded = 170004
StickerMaximumFramerateExceeded = 170003
TagNamesMustBeUnique = 40061
TargetUserNotInVoice = 40032
TheChannelsForThisGuildAreTooLarge = 30061
TheEntityTypeOfTheEventIsDifferentFromTheEntityYouAreTryingToStartTheEventFor = 50091
ThereAreNoTagsAvailableThatCanBeSetByNonModerators = 40066
ThreadIsLocked = 160005
TitleWasBlockedByAutomaticModeration = 200001
UnderMinimumAge = 20024
UnknownAccount = 10001
UnknownApplication = 10002
UnknownApplicationCommand = 10063
UnknownApplicationCommandPermissions = 10066
UnknownBan = 10026
UnknownBranch = 10032
UnknownBuild = 10030
UnknownChannel = 10003
UnknownDiscoverableServerCategory = 10059
UnknownEmoji = 10014
UnknownEntitlement = 10029
UnknownGiftCode = 10038
UnknownGuild = 10004
UnknownGuildMemberVerificationForm = 10068
UnknownGuildScheduledEvent = 10070
UnknownGuildScheduledEventUser = 10071
UnknownGuildTemplate = 10057
UnknownGuildWelcomeScreen = 10069
UnknownIntegration = 10005
UnknownInteraction = 10062
UnknownInvite = 10006
UnknownLobby = 10031
UnknownMember = 10007
UnknownMessage = 10008
UnknownPermissionOverwrite = 10009
UnknownPremiumServerSubscribeCooldown = 10050
UnknownProvider = 10010
UnknownRedistributable = 10036
UnknownRole = 10011
UnknownSKU = 10027
UnknownSession = 10020
UnknownStageInstance = 10067
UnknownSticker = 10060
UnknownStoreDirectoryLayout = 10033
UnknownStoreListing = 10028
UnknownStream = 10049
UnknownTag = 10087
UnknownToken = 10012
UnknownUser = 10013
UnknownVoiceState = 10065
UnknownWebhook = 10015
UnknownWebhookService = 10016
UploadedFileNotFound = 50146
UserBanned = 40007
WebhookServicesCannotBeUsedInForumChannels = 220004
WebhooksCanOnlyCreateThreadsInForumChannels = 220003
WebhooksPostedToForumChannelsCannotHaveBothAThreadNameAndThreadId = 220002
WebhooksPostedToForumChannelsMustHaveAThreadNameOrThreadId = 220001
WordsNotAllowed = 20031
WriteRatelimitReached = 20029