Discord rate limits
ds-pankov
PROOP

3 months ago

Hello, I have a problem. Due to a shared IP address, Discord authentication is not working for me. It crashes with a rate-limits error, even though I am not making that many requests.

```
{

code: 0,

message: 'You are being blocked from accessing our API temporarily due to exceeding global rate limits. Refer to https://discord.com/developers/docs/topics/rate-limits for more information.',

status: 429,

statusText: 'Too Many Requests'

}
```

$10 Bounty

1 Replies

3 months ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open brody 3 months ago


According to Discord API docs:

All bots can make up to 50 requests per second to our API. If no authorization header is provided, then the limit is applied to the IP address.

I would try adding an authorization header if you haven't. Otherwise, your bot is just somehow making over 50 requests per second...
https://discord.com/developers/docs/topics/rate-limits#global-rate-limit


Loading...