Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Error Code Hub #1171

Closed
7596ff opened this issue Sep 24, 2021 · 8 comments
Closed

API Error Code Hub #1171

7596ff opened this issue Sep 24, 2021 · 8 comments
Labels
c-http Affects the http crate d-api Change related to Discord's API.

Comments

@7596ff
Copy link
Contributor

7596ff commented Sep 24, 2021

This issue will serve as a list of API error codes that need to be added to http/src/api_error.rs. This will prevent our issue count from inflating due to the size of these changes.

@7596ff 7596ff added c-http Affects the http crate d-api Change related to Discord's API. t-chore labels Sep 24, 2021
@7596ff
Copy link
Contributor Author

7596ff commented Sep 24, 2021

160002: Cannot reply without permission to read message history

Docs PR: discord/discord-api-docs#3738

@7596ff
Copy link
Contributor Author

7596ff commented Sep 24, 2021

50101: This server needs more boosts to perform this action

Docs PR: discord/discord-api-docs#3840

@7596ff
Copy link
Contributor Author

7596ff commented Sep 24, 2021

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

Docs PR: discord/discord-api-docs#3819

@7596ff 7596ff pinned this issue Sep 29, 2021
@7596ff
Copy link
Contributor Author

7596ff commented Oct 8, 2021

30033: Max number of thread participants has been reached (1000)

Docs PR: discord/discord-api-docs#3938

@7596ff
Copy link
Contributor Author

7596ff commented Nov 19, 2021

10070: Unknown Guild Scheduled Event
180000: Cannot update a finished event
180002: Failed to create stage needed for stage event

Docs PR: discord/discord-api-docs#4117 Moved to #1283.

@7596ff
Copy link
Contributor Author

7596ff commented Dec 9, 2021

20029: The write action you are performing on the server has hit the write rate limit

Docs PR: discord/discord-api-docs#4214

@7596ff
Copy link
Contributor Author

7596ff commented Dec 9, 2021

50055: Invalid Guild

Docs PR: discord/discord-api-docs#4212

@zeylahellyer
Copy link
Member

Adding error codes will be a continuous effort. Because this only tracks error codes and we're now caught up on error codes, I'm going to close this so we can instead use individual issues.

Repository owner moved this from In Progress to Done in Go 1.0 Dec 26, 2021
@zeylahellyer zeylahellyer unpinned this issue Dec 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c-http Affects the http crate d-api Change related to Discord's API.
Projects
Status: Done
Development

No branches or pull requests

2 participants