Skip to content

Instantly share code, notes, and snippets.

@Dziurwa14
Last active May 10, 2024 04:52
Show Gist options
  • Star 33 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Dziurwa14/de2498e5ee28d2089f095aa037957cbb to your computer and use it in GitHub Desktop.
Save Dziurwa14/de2498e5ee28d2089f095aa037957cbb to your computer and use it in GitHub Desktop.
Discord error codes

Error Codes

All collected Discord error codes, categorized by type (first 2 digits).

Miscellaneous

Code Message
0 General error (such as a malformed request body, amongst other things)

Unknown API object

Code Message
10001 Unknown Account
10002 Unknown Application
10003 Unknown Channel
10004 Unknown Guild
10005 Unknown Integration
10006 Unknown Invite
10007 Unknown Member
10008 Unknown Message
10009 Unknown Permission Overwrite
10010 Unknown Provider
10011 Unknown Role
10012 Unknown Token
10013 Unknown User
10014 Unknown Emoji
10015 Unknown Webhook
10016 Unknown Webhook Service
10017 Unknown Connection
10020 Unknown Session
10021 Unknown Asset
10023 Unknown approval form
10026 Unknown Ban
10027 Unknown SKU
10028 Unknown Store Listing
10029 Unknown Entitlement
10030 Unknown Build
10031 Unknown Lobby
10032 Unknown Branch
10033 Unknown Store Directory Layout
10035 Unknown Price Tier
10036 Unknown Redistributable
10038 Unknown Gift Code
10039 Unknown Team
10040 Unknown Team Member
10042 Unknown Manifest Labels
10043 Unknown achievement
10044 Unknown EULA
10045 Unknown Application News
10046 The channel is not associated with a sku
10047 Unknown Premium Guild Subscription
10048 Unknown Gift Code Batch
10049 Unknown Stream
10050 Unknown premium server subscribe cooldown
10053 Unknown Payout
10055 Unknown Premium Guild Subscription Slot
10056 Unknown remote authentication session
10057 Unknown server template
10058 Unknown user identity verification
10059 Unknown discoverable server category
10060 Unknown sticker
10061 Unknown sticker pack
10062 Unknown Interaction
10063 Unknown application command
10064 Unknown user trial offer
10065 Unknown Voice state
10066 Unknown application command permissions
10067 Unknown Stage Instance
10068 Unknown Guild Member Verification Form
10069 Unknown Guild Welcome Screen
10070 Unknown Guild Scheduled Event
10071 Unknown Guild Scheduled Event User
10073 Unknown Subscription Plan
10075 Unknown directory entry
10076 Unknown promotion
10077 Endpoint not available
10082 Unknown survey
10083 Unknown Server Role Subscription Settings
10084 Premium usage not available
10085 Unknown creator monetization enable request
10087 Unknown Tag
10091 Unknown Featured Item
10093 Unknown WebAuthn Authenticator
10094 Unknown User Code
10095 Unknown channel for new member action
10096 Unknown message attachment
10097 Unknown Sound
10099 Unknown game invite
10102 Unknown poll
10105 Unknown Snapshot
10111 Unknown Tenure Reward Status
10113 Guild is not a Clan

Restrictions

Code Message
20001 Bots cannot use this endpoint
20002 Only bots can use this endpoint
20003 RPC proxy disallowed
20009 Explicit content cannot be sent to the desired recipient(s)
20011 This account is scheduled for deletion
20012 You are not authorized to perform this action on this application
20013 This account is disabled
20015 This action requires a premium subscription
20016 This action cannot be performed due to slowmode rate limit
20017 The Maze isn't meant for you
20018 Only the owner of this account can perform this action
20019 You must accept the invitation to this team before you can perform this action
20020 The SKU is not available for purchase
20021 Friend list sync requires user to have verified phone
20022 This message cannot be edited due to announcement rate limits
20023 The specified local account provider is not recognized
20024 Under minimum age
20026 This bot has been flagged by our anti-spam system for abusive behavior pending review, and is currently unable to be added to any additional server
20027 This action can only be performed for approved store applications
20028 The write action you are performing on the channel has hit the write rate limit.
20029 The write action you are performing on the server has hit the write rate limit
20031 Your Stage topic, server name, server description, or channel names contain words that are not allowed
20033 This update is not allowed for this connection type
20035 Guild premium subscription level too low
20037 You must be friends with this user to perform this action
20039 This action cannot be performed because the team owns a verified application. Please contact support.
20040 This action cannot be performed because a vanity url is required for published guilds
20042 Invalid remote authentication ticket
20044 VANITY_URL_EMPLOYEE_ONLY_GUILD_DISABLED (UNKNOWN)
20045 This guild do not met requirements of using vanity url feature
20054 New requirements can be added only when there are no members in the role
20055 Application is restricted from joining server. See https://i.dis.gd/500 for more info.

Resource limitations

Code Message
30001 Maximum number of guilds reached (100)
30002 Maximum number of friends reached (1000)
30003 Maximum number of pins reached for the channel (50)
30004 Maximum number of recipients reached (10)
30005 Maximum number of guild roles reached (250)
30006 Too many users have this username, please try another
30007 Maximum number of webhooks reached (10)
30008 Maximum number of emojis reached
30009 Maximum number of connections reached (50)
30010 Maximum number of reactions reached (20)
30011 Maximum number of group DMs reached (10)
30012 Maximum number of whitelisted users reached (50)
30013 Maximum number of guild channels reached (500)
30015 Maximum number of attachments in a message reached (10)
30016 Maximum number of invites reached (1000)
30017 Maximum number of application assets reached (300)
30018 Maximum number of animated emojis reached
30019 Maximum number of server members reached
30021 Maximum number of game SKUs per application reached (1).
30022 Maximum number of gifts has been reached for this SKU.
30023 Maximum number of teams reached (30)
30025 Maximum number of companies reached (20)
30026 Maximum number of premium server subscriptions reached
30029 NOT_ENOUGH_GUILD_MEMBERS (UNKNOWN)
30030 Maximum number of server categories has been reached (5)
30031 Guild already has a template
30032 Maximum number of application commands reached
30033 Max number of thread participants has been reached (1000)
30034 Max number of daily application command creates has been reached (200)
30035 Maximum number of bans for non-guild members have been exceeded
30037 Maximum number of bans fetches has been reached
30038 Maximum number of uncompleted guild scheduled events reached (100)
30039 Maximum number of stickers reached
30040 Maximum number of prune requests has been reached. Try again later
30041 Max number of entries in directory channel reached (500)
30042 Maximum number of guild widget settings updates has been reached. Try again later
30043 Maximum number of published tiers reached (3)
30045 Maximum number of soundboard sounds reached 36
30046 Maximum number of edits to messages older than 1 hour reached. Try again later
30047 Maximum number of pinned threads in a forum channel has been reached
30048 Maximum number of tags in a forum channel has been reached
30052 Bitrate is too high for channel of this type
30053 Maximum total size of attachments reached 500MB.
30054 Maximum number of published application subscriptions reached (1)
30056 Maximum number of premium emojis reached (25)
30058 Maximum number of webhooks per guild reached (1000)
30059 Maximum number of blocked users reached (5000)
30060 Maximum number of channel permission overwrites reached (1000)
30061 The channels for this guild are too large
30063 Maximum number of application subscription SKUs reached (20)
30065 Maximum number of published products reached (10)
30066 Maximum number of snapshot reached (5)
30068 Maximum number of guild integrations reached (50)
31001 You are being rate limited
31002 The resource is being rate limited

Disallowed actions

Code Message
40001 Unauthorized
40002 You need to verify your account in order to perform this action
40003 You are opening direct messages too fast
40004 Send message has been temporarily disabled.
40005 Request entity too large
40006 This feature has been temporarily disabled server-side
40007 The user is banned from this guild
40010 You already have a verified phone
40011 You must transfer ownership of any owned guilds before deleting your account
40012 The connection has been revoked
40013 This account must be claimed.
40014 Activity expired
40015 You must transfer ownership of any owned guilds before disabling your account
40016 Service is currently unavailable.
40024 Team member already exists
40025 Team owner cannot be deleted
40026 All team members must have a verified email address
40027 You are already a member of this team
40028 You must transfer ownership of any owned teams before deleting your account
40029 A company with that name already exists
40032 Target user is not connected to voice.
40033 This message has already been crossposted
40034 User has disabled contact sync
40035 USER_INDENTITY_VRRIFICATION_PROCESSING (UNKNOWN)
40036 User identity verification already succeeded
40037 Application verification ineligible
40038 Application verification already submitted
40039 Application verification already approved
40041 An application command with that name already exists
40043 Application interaction failed to send
40044 Entry already exists in this directory channel
40053 Application must be verified to request intents
40054 Recommendations not available
40058 Cannot message this thread until after the post author has sent an initial message
40060 Interaction has already been acknowledged
40061 Tag names must be unique
40062 Service resource is being rate limited.
40064 The application needs to be verified
40066 There are no tags available that can be set by non-moderators
40067 A tag is required to create a forum post in this channel
40068 USER_QUARANTINE (UNKNOWN)
40069 Invites are currently paused for this server. Please try again later.
40073 We could not verify your phone number. Please try again with the number listed on your account
40075 New member action already completed
40077 Find Friends is temporarily unavailable.
40081 Invalid recipient for friend invite
40082 Invalid code for friend invite
40088 Cannot kick the Clyde AI Bot, he can only be banned.
40090 Verified applications cannot be embedded
40092 Server is ineligible to become a Guild
40333 internal network error

Validation issues

Code Message
50001 Missing access
50002 Invalid account type
50003 Cannot execute action on a DM channel
50004 Guild widget disabled
50005 Cannot edit a message authored by another user
50006 Cannot send an empty message
50007 Cannot send messages to this user
50008 Cannot send messages in a non-text channel
50009 Channel verification level is too high for you to gain access
50010 OAuth2 application does not have a bot
50011 OAuth2 application limit reached
50012 Invalid OAuth2 state
50013 You lack permissions to perform that action
50014 Invalid authentication token provided
50015 Note was too long
50016 Provided too few or too many messages to delete. Must provide at least 2 and fewer than 100 messages to delete.
50017 Invalid MFA Level
50018 Password does not match
50019 A message can only be pinned to the channel it was sent in
50020 Invite code was either invalid or taken
50021 Cannot execute action on a system message
50022 Invalid phone number
50023 Invalid Client ID
50024 Cannot execute action on this channel type
50025 Invalid OAuth2 access token
50026 Missing required OAuth2 scope
50027 Invalid webhook token provided
50028 Invalid role
50029 Users without verified emails cannot be added to the application whitelist
50030 You cannot invite yourself to the application whitelist
50031 You cannot invite a user who was already whitelisted, or is already a member
50033 Invalid Recipient(s)
50034 A message provided was too old to bulk delete
50035 Invalid Form Body
50036 An invite was accepted to a guild the application's bot is not in
50037 Verification code is invalid
50038 You cannot perform this action on yourself
50039 Invalid Activity Action
50040 Invalid OAuth2 redirect_uri
50041 Invalid API version provided
50042 Invalid Billing State
50043 Data Harvest is pending, another Data Harvest cannot be started
50044 Data Harvest can only be requested every 30 days
50045 File uploaded exceeds the maximum size
50046 Invalid Asset
50048 Invalid Payment Source
50050 This gift has been redeemed already.
50054 Cannot self-redeem this gift
50055 Invalid Guild
50056 Cannot delete asset that is currently in use on a store page
50057 Invalid SKU
50060 Invalid application store state
50064 Cannot unsubscribe from a server again
50067 Invalid request origin
50068 Invalid message type
50069 Must wait for premium server subscription cooldown to expire
50070 Payment source required to redeem gift
50071 New subscription required to redeem gift
50073 Cannot modify a system webhook
50074 Cannot delete a channel required for Community guilds
50080 Cannot edit stickers within a message
50081 Invalid sticker sent
50083 Tried to perform an operation on an archived thread, such as editing a message or adding a user to the thread
50084 Invalid thread notification settings
50085 before value is earlier than the thread creation date
50086 Community server channels must be text channels
50091 The entity type of the event is different from the entity you are trying to start the event for
50092 You have already owned this SKU
50094 Invalid directory entry type
50095 This server is not available in your location
50096 Cannot accept your own friend invite
50097 This server needs monetization enabled in order to perform this action
50099 This entity can only be edited through the server settings UI
50101 This server needs more boosts to perform this action
50102 Cannot update price tier on a published role listing
50104 Malformed user settings payload
50105 User Settings failed validation:
50106 You do not have access to the requested activity
50107 This server needs more boosts to launch this activity
50108 INVALID_ACTIVITY_LAUNCH_CONCURRENT_ACTIVITIES
50109 The request body contains invalid JSON
50111 Invalid guild join request application status query
50112 Cannot delete a subscription group that has listings
50113 Cannot create more than 1 subscription group
50119 This guild is not allowed to use monetization features
50121 This server is not eligible to request monetization
50123 The provided file type is invalid.
50124 The provided file duration exceeds maximum of 5 seconds.
50129 You must have Nitro to launch this activity
50131 Owner cannot be pending member
50132 Ownership cannot be transferred to a bot user
50133 User is already owner
50136 User does not have access to private channel.
50138 Failed to resize asset below the maximum size: 262144
50139 User could not be found.
50140 User is not staff
50144 Cannot mix subscription and non subscription roles for an emoji
50145 Cannot convert between premium emoji and normal emoji
50146 Uploaded file not found
50147 Invalid Connection
50148 Cannot launch Activity in AFK Channel
50150 Invalid Role Configuration
50151 The specified emoji is invalid
50152 This server is not eligible for store pages
50155 This server is not allowed to create an enable request
50157 Cannot delete a subscription listing with subscriptions
50158 Onboarding responses are not valid
50159 Voice messages do not support additional content
50160 Voice messages must have a single audio attachment
50161 Voice messages must have supporting metadata
50162 Voice messages cannot be edited
50163 Cannot delete guild subscription integration
50164 New owner is ineligible for server subscription requirement
50165 Cannot launch Age-Gated Activity
50166 Only discoverable servers can publish a landing page
50167 Cannot send soundboard sound when user is server muted, deafened, or suppressed
50168 User must be in voice channel to send voice channel effect
50169 Cannot update other guild fields when disabling invites.
50170 Cannot specify channel_id and guild_id
50171 This action cannot be performed because at least one tier exists.
50173 Cannot send voice messages in this channel
50174 Not a valid clip
50178 The user account must first be verified
50179 Only media channel post can have preview
50182 Cannot set hide media download option flag for non media channels
50183 Only Community Servers can create permanent invite links.
50184 User is not eligible for sending remix
50186 Archive files are not supported: {filename}
50187 Unable to validate domain. It may take a few minutes for DNS records to propagate.
50188 Invalid guild feature
50191 Application is unable to monetize
50193 This promotion is invalid.
50194 This gift code belongs to someone else.
50197 Invalid scopes provided for user installation
50199 Installation type not supported for this application
50209 You cannot launch this activity in a server with more than 25 members
50220 Activity location is invalid
50600 You do not have permission to send this sticker

Two-factor authentication

Code Message
60001 This account is already enrolled in two factor authentication
60002 This account is not enrolled in two factor authentication
60003 Two factor is required for this operation
60004 Must be a verified account
60005 Invalid two-factor secret
60006 Invalid two-factor auth ticket
60008 Invalid two-factor code
60009 Invalid two-factor session
60010 This account is not enrolled in SMS authentication
60011 Invalid key
60012 SMS Two-factor authentication cannot be enabled on this account
60015 Two factor is required for owner/admin in servers that have published server subscription tiers
60019 User is not eligible for MFA Email Verification.

Phone numbers

Code Message
70003 Unable to send sms message
70005 Please use a valid mobile phone number, not a VoIP or landline number.
70007 You need to verify your phone number in order to perform this action.
70008 An existing Discord account is already using this number. Please remove it before it can be used with a new account.
70009 Your Discord password reset link was sent to your email. Please check your email to reset your password.

Relationships

Code Message
80000 Incoming friend requests disabled
80001 Friend request blocked
80002 Bots cannot have friends
80003 Cannot send friend request to self
80004 No users with DiscordTag exist
80005 You do not have an incoming friend request from that user
80006 You need to be friends in order to make this change.
80007 You are already friends with that user.
80008 You must include a discriminator.

Blocked actions

Code Message
90001 Reaction was blocked
90002 User cannot use burst reactions
90003 No available burst currency for user
90004 Invalid reaction type
90100 Invalid update for Message Request

Billing

Code Message
100001 UNKNOWN_BILLING_PROFILE (UNKNOWN)
100002 Invalid payment source
100003 Invalid subscription
100004 Already subscribed
100005 Invalid plan
100006 Payment source required
100007 Already cancelled
100008 Invalid payment
100009 Already refunded
100010 Billing address is invalid
100011 Already purchased
100015 Valid dependent SKU entitlement is required
100017 This purchase request is invalid
100018 A payment is required
100019 User is ineligible for trial
100021 Invalid Apple Receipt
100023 INVALID_GIFT_REDEMPTION_SUBSCRIPTION_INCOMPATIBLE (UNKNOWN)
100024 INVALID_GIFT_REDEMPTION_INVOICE_OPEN (UNKNOWN)
100026 The purchase amount is below the minimum charge amount.
100027 Invoice amount cannot be negative.
100029 Authentication required
100034 Invalid subscription item
100035 This trial subscription cannot be modified
100037 Subscription items are required
100038 Cannot preview this subscription update
100040 Invalid subscription_items
100042 Subscription renewal is in progress
100046 Invalid price tier order
100047 Confirmation required
100051 Invalid currency for payment
100052 Invalid currency for subscription plan
100053 Ineligible for subscription
100054 The card has insufficient funds required to complete the purchase
100055 Pending purchase could not be verified
100056 This client needs to be authorized for purchases. We've sent you an email. Click the link on the email and then retry the purchase.
100058 This payment method cannot be used
100059 Open invoice not found
100060 Non refundable payment source
100062 Subscription metadata is invalid
100066 Currency can't be changed without a payment source
100069 Invalid operation
100070 BILLING_APPLE_SERVER_API_ERROR (UNKNOWN)
100071 User is not eligible for creating referrals
100076 Error while generating invoice PDF
100078 BILLING_TRIAL_REDEMPTION_DISABLED (UNKNOWN)
100079 Pause is temporarily unavailable. Please try again later.
100080 BILLING_PAUSE_PENDING_ALREADY_SET (UNKNOWN)
100081 BILLING_PAUSE_NOT_ELIGIBLE (UNKNOWN)
100082 BILLING_PAUSE_INVALID_INTERVAL (UNKNOWN)
100083 BILLING_ALREADY_PAUSED (UNKNOWN)
100084 BILLING_CANNOT_CHARGE_ZERO_AMOUNT (UNKNOWN)
100095 Pause subscription is not available for this plan

Pending resources

Code Message
110000 Index not yet available. Try again later
110001 Application not yet available. Try again later

LFG channels

Code Message
120000 LISTING_ALREADY_JOINED (UNKNOWN)
120001 LISTING_TOO_MANY_MEMBERS (UNKNOWN)
120002 LISTING_JOIN_BLOCKED (UNKNOWN)

API resources

Code Message
130000 API resource is currently overloaded. Try again a little later

Achievements

Code Message
140000 Maximum number of achievements reached (1000)

Applications/requests

Code Message
150001 Server does not pass partner requirements
150002 You must revoke your existing request to join before re-applying
150003 Cannot find a pending application for this user
150004 You already have a pending Partner application
150006 The Stage is already open
150008 You cannot acknowledge this join request
150009 This user is already a member, join request is already closed
150011 Server must raise verification level in order to perform this action
150016 Join request not found
150019 You cannot create or join an interview for this join request.
150020 Join request interviews are not available for this guild.

Chat limitations

Code Message
160002 Cannot reply without permission to read message history
160004 A thread has already been created for this message
160005 Thread is locked
160006 Maximum number of active threads reached
160007 Maximum number of active announcement threads reached

Guild stickers

Code Message
170001 Invalid JSON for uploaded Lottie file
170002 Uploaded Lotties cannot contain rasterized images such as PNG or JPEG
170003 Sticker maximum framerate exceeded
170004 Sticker frame count exceeds maximum of 1000 frames
170005 Lottie animation maximum dimensions exceeded
170006 Sticker frame rate is either too small or too large
170007 Sticker animation duration exceeds maximum of 5 seconds
170008 POGGERMODE_TEMPORARILY_DISABLED (UNKNOWN)

Guild events

Code Message
180000 Cannot update a finished event
180001 Exactly one guild_id query parameter is required
180002 Failed to create stage needed for stage event
180003 You must join the server to take this action
180004 This route requires a recurring event
181000 We are temporarily not accepting Verified Server Applications while we tidy up things on our end.

Application Verification

Code Message
190001 All apps must have a privacy policy.
190002 All apps must have a Terms of Service.

Automatic moderation

Code Message
200000 This can't be posted because it contains content blocked by this community. This may also be viewed by the community owners.
200001 This can't be sent because it contains content blocked by this community. Please revise and try again.
200002 Regex validation service unavailable. Please try again later.
200005 You cannot join this server because your username contains content blocked by this server.

Guild monetization

Code Message
210000 Monetization request has not been approved yet
210001 The terms for monetization request have already been acked
210002 Cannot access application
210003 The terms for monetisation have not been accepted
210011 TWO_FA_NOT_ENABLED (UNKNOWN)
210019 Your monetization requirements are in an unexpected state. Please contact support.
210020 You are running old code. Please restart your app.
210021 Cannot publish a product without a benefit
210026 CREATOR_MONETIZATION_PAYMENT_TEAM_REQUIRED (UNKNOWN)
210027 Must complete setup and verification of payment account
210028 Pay-out account is not located in a currently supported country

Webhooks

Code Message
220001 Webhooks posted to forum channels must have a thread_name or thread_id
220002 Webhooks posted to forum channels cannot have both a thread_name and thread_id
220003 Webhooks can only create threads in forum channels
220004 Webhook services cannot be used in forum channels

Guild home

Code Message
230000 Items in this channel cannot be featured

Harmful links filter

Code Message
240000 Message blocked by harmful links filter

Drops / Quests

Code Message
260000 User is not enrolled in the given drop
260001 User has not completed the given drop
260002 Unable to claim code for the given drop
260003 User has already claimed code for the given drop
260004 Quest does not support codes for this platform

External integrations

Code Message
270000 CONSOLE_DEVICE_PASSCODE_UNLOCK_REQUIRED
270001 CONSOLE_DEVICE_UNAVAILABLE
270002 CONSOLE_DEVICE_UNVAILABLE_FROM_OTHER_USERS
270003 CONSOLE_DEVICE_COMMUNICATION_RESTRICTED
270004 CONSOLE_DEVICE_INVALID_POWER_MODE
270005 CONSOLE_DEVICE_ACCOUNT_LINK_ERROR
270006 CONSOLE_DEVICE_MAX_MEMBERS_REACHED
270007 CONSOLE_DEVICE_BAD_COMMAND
270008 Application does not meet activity requirements

Providers (two-way linking)

Code Message
280000 This provider does not support two-way linking
280003 User not authorized to create provider

Family center

Code Message
290000 User is not eligible for parent tools.
290001 No link currently exists between users
290002 Too many links exist for one of the requested users
290003 User link status cannot transition from current state to desired state.
290004 Teens cannot request an activity view for other users in family center
290005 A link request already exists between the two users
290006 A linking code has not been generated for this use
290007 The linking code is invalid or has expired

Clyde AI

Code Message
310000 Clyde consent is required
310002 You are sending too many messages to Clyde. Try again later
310003 This backstory could result in potentially unsafe or harmful responses. Please modify the backstory and try again.
310006 Clyde Profile Not found

User limitations

Code Message
340001 Access to sending messages in guild channels has been limited for the user
340002 Access to sending DMs has been limited for the user
340003 Access to sending messages in group DMs has been limited for the user
340007 Access to sending friend request has been limited for the user
340009 Access to creating new guilds has been limited for the user

Guild onboarding

Code Message
350000 Cannot enable onboarding, requirements are not met
350001 Cannot update onboarding while below requirements

Summaries AI

Code Message
360000 Server is ineligible for summaries.
360001 Channel is ineligible for summaries.

Guest invites

Code Message
380000 Cannot join because you are on a timeout

Emoji inventory

Code Message
390001 Pack not found
390002 Must provide a pack id
390003 Inventory not enabled
390004 Inventory settings not enabled
390010 Inventory pack limit reached
390011 Inventory pack has no contents

Guild limitations

Code Message
400001 GUILD_FILE_UPLOAD_RATE_LIMITED_ACCESS (UNKNOWN)
400002 GUILD_JOIN_INVITE_LIMITED_ACCESS (UNKNOWN)
400003 GUILD_GO_LIVE_LIMITED_ACCESS (UNKNOWN)

Partner promotions

Code Message
400000 Token is invalid.
420002 User has already claimed promotion.
420003 PARTNER_PROMOTIONS_MAX_CLAIMS (UNKNOWN)
420004 Gift already claimed.
420005 Previous purchase error.
420006 New subscription required.
420007 Unknown gift.

Guild bans

Code Message
500000 Failed to ban users

Polls / Safety hub

Code Message
520000 Poll voting blocked
520001 Poll expired
520002 Cannot create a poll in this type of channel
520003 Cannot edit a poll message
520004 Cannot use one or more emoji included with this poll
520006 Cannot expire a message that is not a poll
520007 Poll has already expired
521001 DSA_RSL_REPORT_NOT_FOUND (Unknown)
521002 DSA_RSL_ALREADY_REQUESTED (Unknown)
521003 DSA_RSL_LIMITED_TIME (Unknown)
521004 DSA_RSL_REPORT_INELIGIBLE (Unknown)
522002 Internal error occurred while processing the appeal
@dolfies
Copy link

dolfies commented Nov 11, 2022

Unreal

@justsomebigsock
Copy link

unreal

@justsomebigsock
Copy link

👽

@lucysim9
Copy link

🤓

@funlennysub
Copy link

🤓

@Lulalaby
Copy link

👽

@nmsturcke
Copy link

🙀

@pointydev
Copy link

reality

@User9684
Copy link

40068 User quarantined

@dolfies
Copy link

dolfies commented Mar 27, 2023

40068 User quarantined

Is this the exact error message? Would appreciate a source of some kind.

@jonathan-x01
Copy link

How do you fix error code 50102, Cannot update price tier on a published role listing. I cannot find any sources online. None.

@jonathan-x01
Copy link

How do you fix error code 50102

You don’t 👽👍

Really? That really sucks as I wanted to increase a tier price as I added more benefits but it always respond with that error.

@taskylizard
Copy link

wild

@IllagerCaptain
Copy link

IllagerCaptain commented Jun 9, 2023

50140 is User is not staff. with a period, not User is not staff. Yes I know it's inconsistent but this is Discord we are talking about.

You can currently trigger this error code via GET/https://canary.discord.com/api/v9/application-directory/collections?includes_inactive=true.

@Dziurwa14
Copy link
Author

50140 is User is not staff. with a period, not User is not staff. Yes I know it's inconsistent but this is Discord we are talking about.

You can currently trigger this error code via GET/https://canary.discord.com/api/v9/application-directory/collections?includes_inactive=true.

Yes im aware of it before we removed any periods from error codes but now we keep them and cant bother editing every error code to match exactly

@User9684
Copy link

40006 does not have "server-wide" and 40004 is "Send message has been temporarily disabled."

@IllagerCaptain
Copy link

{
    "message": "User identity verification already succeeded",
    "code": 40036
}

Found 40036 when messing around with this.

@FoUnDeRR
Copy link

FoUnDeRR commented Dec 6, 2023

pretty cool, keep up the good work.

@Davr1
Copy link

Davr1 commented Jan 20, 2024

{"message": "Find Friends is temporarily unavailable.", "code": 40077}

@Davr1
Copy link

Davr1 commented Feb 11, 2024

{"message": "Unknown sound", "code": 10097}

@Davr1
Copy link

Davr1 commented Feb 14, 2024

{"message": "Invalid reaction type", "code": 90004}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment