Skip to content

Commit 3e002cb

Browse files
zeinjaberngayerie
andauthored
Update error-429.mdx (#24235)
* Update error-429.mdx SPM-2107 * Update error-429.mdx --------- Co-authored-by: Nic <[email protected]>
1 parent af55c1f commit 3e002cb

File tree

3 files changed

+17
-7
lines changed

3 files changed

+17
-7
lines changed

src/content/docs/fundamentals/api/reference/limits.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ sidebar:
77

88
import { Render } from "~/components";
99

10-
<Render file="api-rate-limits" product="fundamentals" />
10+
<Render file="api-rate-limits" product="fundamentals" params={{showHeading: true}} />

src/content/docs/support/troubleshooting/http-status-codes/4xx-client-error/error-429.mdx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,15 @@ Servers use this status code to prevent excessive API requests from overloading
1818

1919
### Cloudflare-specific information
2020

21-
- **Cloudflare API limits**
21+
#### Cloudflare API limits
2222

2323
<Render file="api-rate-limits" product="fundamentals" />
2424

25-
- **Website end users**
25+
#### R2 managed public buckets
26+
27+
Cloudflare applies rate limiting to requests for R2 managed public buckets accessed via `r2.dev`. This helps protect customers from abuse and overuse of public buckets. For details, refer to [Rate limiting on managed public buckets through `r2.dev`](/r2/platform/limits/#rate-limiting-on-managed-public-buckets-through-r2dev).
28+
29+
#### Website end users
2630

2731
Cloudflare will generate a `429` response when a request is being [rate limited](https://www.cloudflare.com/rate-limiting/). If visitors to your site encounter this error, it will be visible in the [Rate Limiting Analytics](/waf/reference/legacy/old-rate-limiting/#analytics) dashboard.
32+

src/content/partials/fundamentals/api-rate-limits.mdx

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,24 @@
11
---
2-
{}
2+
params:
3+
- showHeading?
34
---
45

5-
## API token limits
6+
import { AnchorHeading } from "~/components";
7+
8+
{props.showHeading && (
9+
<AnchorHeading title="API token limits" depth={2} />
10+
)}
611

712
| Type | Limit |
813
| ----------------------- | ----------------------------------- |
9-
| Client API per user | 1200/5 minutes |
14+
| Client API per user | 1,200/5 minutes |
1015
| Client API per IP | 200/second |
1116
| GraphQL | Varies by query cost. Max 320/5 min |
1217
| User API token quota | 50 |
1318
| Account API token quota | 500 |
1419

1520
:::note
16-
The global rate limit for the Cloudflare API is 1200 requests per five minute period per user, and applies cumulatively regardless of whether the request is made via the dashboard, API key, or API token.
21+
The global rate limit for the Cloudflare API is 1,200 requests per five minute period per user, and applies cumulatively regardless of whether the request is made via the dashboard, API key, or API token.
1722

1823
If you exceed this limit, all API calls for the next five minutes will be blocked, receiving a `HTTP 429 - Too Many Requests` response.
1924
:::

0 commit comments

Comments
 (0)