Skip to content

Instantly share code, notes, and snippets.

@wasi-master
Created July 27, 2021 17:47
Show Gist options
  • Save wasi-master/fba575b18a6ef03fefc8408c69e4e267 to your computer and use it in GitHub Desktop.
Save wasi-master/fba575b18a6ef03fefc8408c69e4e267 to your computer and use it in GitHub Desktop.
{
"0": "General error (such as a malformed request body, amongst other things)",
"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",
"10020": "Unknown session",
"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",
"10036": "Unknown redistributable",
"10038": "Unknown gift code",
"10057": "Unknown guild template",
"10059": "Unknown discoverable server category",
"10060": "Unknown sticker",
"10062": "Unknown interaction",
"10063": "Unknown application command",
"10066": "Unknown application command permissions",
"10067": "Unknown Stage Instance",
"10068": "Unknown Guild Member Verification Form",
"10069": "Unknown Guild Welcome Screen",
"20001": "Bots cannot use this endpoint",
"20002": "Only bots can use this endpoint",
"20009": "Explicit content cannot be sent to the desired recipient(s)",
"20012": "You are not authorized to perform this action on this application",
"20016": "This action cannot be performed due to slowmode rate limit",
"20018": "Only the owner of this account can perform this action",
"20022": "This message cannot be edited due to announcement rate limits",
"20028": "The channel you are writing has hit the write rate limit",
"20031": "Your Stage topic, server name, server description, or channel names contain words that are not allowed",
"20035": "Guild premium subscription level too low",
"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)",
"30007": "Maximum number of webhooks reached (10)",
"30008": "Maximum number of emojis reached",
"30010": "Maximum number of reactions reached (20)",
"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)",
"30018": "Maximum number of animated emojis reached",
"30019": "Maximum number of server members reached",
"30030": "Maximum number of server categories has been reached (5)",
"30031": "Guild already has a template",
"30033": "Max number of thread participants has been reached",
"30035": "Maximum number of bans for non-guild members have been exceeded",
"30037": "Maximum number of bans fetches has been reached",
"30039": "Maximum number of stickers reached",
"40001": "Unauthorized. Provide a valid token and try again",
"40002": "You need to verify your account in order to perform this action",
"40003": "You are opening direct messages too fast",
"40005": "Request entity too large. Try sending something smaller in size",
"40006": "This feature has been temporarily disabled server-side",
"40007": "The user is banned from this guild",
"40032": "Target user is not connected to voice",
"40033": "This message has already been crossposted",
"40041": "An application command with that name already exists",
"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 voice 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", "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",
"50024": "Cannot execute action on this channel type",
"50025": "Invalid OAuth2 access token provided",
"50026": "Missing required OAuth2 scope",
"50027": "Invalid webhook token provided",
"50028": "Invalid role",
"50033": "\"Invalid Recipient(s)\"",
"50034": "A message provided was too old to bulk delete",
"50035": "Invalid form body (returned for both application/json and multipart/form-data bodies), or invalid Content-Type provided",
"50036": "An invite was accepted to a guild the application's bot is not in",
"50041": "Invalid API version provided",
"50054": "Cannot self-redeem this gift",
"50070": "Payment source required to redeem gift",
"50074": "Cannot delete a channel required for Community guilds",
"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",
"60003": "Two factor is required for this operation",
"80004": "No users with DiscordTag exist",
"90001": "Reaction was blocked",
"130000": "API resource is currently overloaded. Try again a little later",
"150006": "The Stage is already open",
"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"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment