Skip to content

Server Rate Limits

Servers may share an outbound IP address with a small number of other servers. This usually includes two to five servers. Another server’s traffic can sometim

Updated Aug 28, 2026

Servers may share an outbound IP address with a small number of other servers. This usually includes two to five servers.

Another server’s traffic can sometimes exceed an API provider’s limits. The provider may then temporarily block the shared IP address.

Your console may show an HTML error page from Cloudflare. The message may state that access to discord.com is temporarily restricted.

Resolve shared-IP limits

These blocks are usually temporary and clear automatically.

You can also:

  • Configure a proxy for affected requests.
  • Request a server transfer if you have a paid plan.

Only members with a paid plan can request a server transfer.

Detect Discord API rate limits

discord.js handles rate limits internally and retries requests automatically. Your console may not show a warning unless you log REST responses.

Listen for REST response events to identify these status codes:

  • 403 — access is forbidden.
  • 429 — the request is rate limited.
client.rest.on(RESTEvents.Response, (request, response) => {
    if (response.status !== 403 && response.status !== 429) return;

    console.log('Discord API request was limited.');
});

client must be a Client instance. Import RESTEvents from discord.js.