Search Results for

    Show / Hide Table of Contents

    Enum DiscordJsonError

    Describes the JSON error. Docs: https://discord.com/developers/docs/topics/opcodes-and-status-codes#json

    Namespace: Color_Chan.Discord.Core.Common.API.DataModels.Errors
    Assembly: Color-Chan.Discord.Core.dll
    Syntax
    public enum DiscordJsonError

    Fields

    Name Description
    ApplicationActionUnauthorized

    You are not allowed to perform that operation on this application.

    ApplicationCommandWithNameExists

    An application command with that name already exists.

    BeforeIsEarlierThanThreadCreation

    The "before" value provided was earlier than the thread creation date.

    BotsOnly

    Only bots can use this endpoint.

    CannotDeleteCommunityRequiredChannel

    A channel required for community guilds cannot be deleted.

    CannotEditMessageByAnotherUser

    Cannot edit a message authored by another user.

    CannotExecuteActionOnChannelType

    Cannot execute action on this channel type.

    CannotExecuteActionOnDmChannel

    Cannot execute action on a DM channel.

    CannotExecuteActionOnSystemMessage

    Cannot execute action on a system message.

    CannotSelfRedeemGift

    You can't redeem this gift yourself.

    CannotSendEmptyMessage

    Cannot send an empty message.

    CannotSendMessageToUser

    Cannot send messages to this user.

    CannotSendMessageToVoiceChannel

    Cannot send messages in a voice channel.

    CannotUpdateFinishedEvent

    Cannot update a finished event

    ChannelVerificationLevelTooHighForAccess

    Channel verification level is too high for you to gain access.

    DisallowedWords

    Your stage channel topic, server name, description, or channel name contains disallowed words.

    EditingNotAllowedDueToAnnouncementRateLimits

    This message cannot be edited due to announcement rate limits.

    ExplictContentCannotBeSent

    Explicit content cannot be sent to the intended recipient(s).

    FailedToCreateStage

    Failed to create stage needed for stage event

    FeatureTemporarilyDisabled

    This feature has been temporarily disabled server-side.

    GeneralError

    A general error (suc as a malformed request body, amongst other things).

    GuildAlreadyHasATemplate

    The guild already has a template.

    GuildPremiumLevelTooLow

    The guild's premium subscription level is too low for the requested action.

    GuildWidgetDisabled

    Guild widget disabled.

    InteractionAlreadyAcknowledged

    Interaction has already been acknowledged.

    InvalidAccountType

    Invalid account type.

    InvalidApiVersion

    Invalid API version provided.

    InvalidAuthenticationToken

    Invalid authentication token provided.

    InvalidFormBody

    Invalid form body (returned for both application/json and multipart/form-data bodies), or invalid Content-Type provided.

    InvalidJsonLottieFile

    Invalid JSON for uploaded Lottie file

    InvalidOAuth2Token

    Invalid OAuth2 access token provided.

    InvalidOAuthState

    Invalid OAuth2 state.

    InvalidOperationOnArchivedThread

    You attempted to perform an operation on an archived thread that's not allowed.

    InvalidOrUsedInviteCode

    Invite code was either invalid or taken.

    InvalidRecipients

    One or more recipients were invalid.

    InvalidRole

    Invalid role provided.

    InvalidSticker

    Invalid sticker sent.

    InvalidThreadNotificationSettings

    Invalid thread notification settings were provided.

    InvalidWebhookToken

    Invalid webhook token provided.

    InviteAcceptedButBotIsNotInGuild

    An invite was accepted to a guild the application's bot is not in.

    JsonRequestBodyInvalid

    The request body contains invalid JSON.

    LottieAnimationDimensionExceeded

    Lottie animation maximum dimensions exceeded

    MaxAnimatedEmojisReached

    Maximum number of animated emojis reached.

    MaxAttachmentsInMessageReached

    Maximum number of attachments in a message reached (10).

    MaxEmojisReached

    Maximum number of emojis reached.

    MaxFriendsReached

    Maximum number of friends reached (1000).

    MaxGuildChannelsReached

    Maximum number of guild channels reached (500).

    MaxGuildInvitesReached

    Maximum number of invites reached (1000).

    MaxGuildRolesReached

    Maximum number of guild roles reached (250).

    MaxGuildsReached

    Maximum number of guilds reached (100).

    MaxGuildWidgetUpdatesReached

    Maximum number of guild widget settings updates has been reached. Try again later.

    MaxMessageEditsReached

    Maximum number of edits to messages older than 1 hour reached. Try again later.

    MaxNumberOfAnnouncementThreadsReached

    The maximum number of announcement threads has been reached.

    MaxNumberOfNonMemberBansReached

    The maximum number of bans for non-guild members has been exceeded.

    MaxNumberOfThreadParticipantsReached

    The maximum number of participants in a thread has been reached.

    MaxNumberOfThreadsReached

    The maximum number of threads has been reached.

    MaxPinsInChannelReached

    Maximum number of pins reached for the channel (50).

    MaxPrunesReached

    Maximum number of prune requests has been reached. Try again later.

    MaxReactionsReached

    Maximum number of reactions reached (20).

    MaxRecipientsReached

    Maximum number of recipients reached.

    MaxServerCategoriesReached

    Maximum number of server categories reached (5).

    MaxServerMembersReached

    Maximum number of server members reached.

    MaxStickerFramerateExceeded

    Sticker maximum framerate exceeded

    MaxStickerFramesExceeded

    Sticker frame count exceeds maximum of 1000 frames

    MaxStickersReached

    Maximum number of stickers reached.

    MaxWebhooksReached

    Maximum number of webhooks reached (10).

    MessageAlreadyCrossposted

    This message has already been crossposted.

    MessageCanOnlyBePinnedInSameChannel

    A message and only be pinned to the channel it was went in.

    MessageTooOldToBulkDelete

    A message provided was too old to bulk delete.

    MissingAccess

    Missing access.

    MissingMessageHistoryToReply

    Cannot reply without permission to read message history.

    MissingOAuth2Scope

    You are missing a required OAuth2 scope.

    MissingPermission

    You lack permissions to perform that action.

    NoBotsAllowed

    Bots cannot use this endpoint.

    NoteTooLong

    Note was too long.

    NoUserWithTag

    No user with that tag exists.

    OAuthApplicationDoesNotHaveBot

    OAuth2 application does not have a bot.

    OAuthApplicationLimitReached

    OAuth2 application limit reached.

    OpeningDMsTooFast

    You are opening direct messages too fast.

    OwnerOnly

    Only the owner of this account can perform that action.

    PaymentSourceRequiredForRedemption

    You need a payment source to redeem this gift.

    ReactionBlocked

    Reaction was blocked.

    RequestEntityTooLarge

    Request entity too large. Try sending something smaller in size.

    ResourceOverloaded

    API resource temporarily overloaded. Try again a little later.

    ServerNeedsMonetizationEnabledToPerformThisAction

    This server needs monetization enabled in order to perform this action.

    ServerNeedsMoreBoosts

    This server needs more boosts to perform this action.

    ServerNotAvailableInYourLocation

    This server is not available in your location.

    SlowMode

    This action cannot be performed due to slow mode.

    StageAlreadyOpen

    The stage channel is already open.

    StickerAnimationToLong

    Sticker animation duration exceeds maximum of 5 seconds

    StickerFramerateIncorrect

    Sticker frame rate is either too small or too large

    ThreadAlreadyCreated

    A thread has already been created for this message.

    ThreadLocked

    The thread has been locked.

    TooFewOrTooManyMessagesToDelete

    Provided too few or too many messages to delete. Must provide at least 2 and fewer than 100 messages to delete.

    TwoFactorRequired

    Two factor is required for this operation.

    Unauthorized

    Unauthorized. Provide a valid token and try again.

    UnknownAccount

    Unknown account.

    UnknownApplication

    Unknown application.

    UnknownApplicationCommand

    Unknown application command.

    UnknownApplicationCommandPermissions

    Unknown application command permissions.

    UnknownBan

    Unknown ban.

    UnknownBranch

    Unknown branch.

    UnknownBuild

    Unknown build.

    UnknownChannel

    Unknown channel.

    UnknownDiscoverableServerCategory

    Unknown discoverable server category.

    UnknownEmoji

    Unknown emoji.

    UnknownEntitlement

    Unknown entitlement.

    UnknownGiftCode

    Unknown gift code.

    UnknownGuild

    Unknown guild.

    UnknownGuildMemberVerificationForm

    Unknown guild member verification form.

    UnknownGuildScheduledEvent

    Unknown guild scheduled event.

    UnknownGuildScheduledEventUser

    Unknown guild scheduled event user.

    UnknownGuildTemplate

    Unknown guild template.

    UnknownGuildWelcomeScreen

    Unknown guild welcome screen.

    UnknownIntegration

    Unknown integration.

    UnknownInteraction

    Unknown interaction.

    UnknownInvite

    Unknown invite.

    UnknownLobby

    Unknown lobby.

    UnknownMember

    Unknown member.

    UnknownMessage

    Unknown message.

    UnknownPermissionOverwrite

    Unknown permission overwrite.

    UnknownPremiumServerSubscribeCooldown

    Unknown premium server subscribe cooldown.

    UnknownProvider

    Unknown provider.

    UnknownRedistributable

    Unknown redistributable.

    UnknownRole

    Unknown role.

    UnknownSession

    Unknown session.

    UnknownSku

    Unknown stock keeping unit.

    UnknownStageInstance

    Unknown stage instance.

    UnknownSticker

    Unknown sticker.

    UnknownStoreDirectoryLayout

    Unknown store directory layout.

    UnknownStoreListing

    Unknown store listing.

    UnknownStream

    Unknown stream.

    UnknownToken

    Unknown token.

    UnknownUser

    Unknown user.

    UnknownWebhook

    Unknown webhook.

    UnknownWebhookService

    Unknown webhook service.

    UnverifiedAccount

    You need to verify your account in order to perform this action.

    UploadContentInvalid

    Uploaded Lotties cannot contain rasterized images such as PNG or JPEG

    UserBanned

    The user is banned from this guild.

    UserNotInVoice

    The target user is not connected to voice.

    WriteRateLimitHit

    The channel you are writing to has hit the write rate limit.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX