Too many requests (429 errors)
A 429 error means Edge Delivery Services throttled your storefront for sending too many requests too fast. This page helps you find the cause and fix it.
Status code 429
Section titled “Status code 429”If you see this
Section titled “If you see this”You see repeated 429 status codes in your browser’s network tab, or a PageSpeed Insights or Lighthouse audit flags an unusually high number of requests on page load.
Why this happens
Section titled “Why this happens”Edge Delivery Services caps requests from one shopper to 200 per second for each aem.page or aem.live host name. See Delivery rate limits. Custom code that fetches data before shoppers ask for it pushes a storefront toward that cap.
The most common causes include:
- Hidden UI, such as a Mini Cart panel or drop-in container, that fetches its scripts, fragments, or styles on every page load instead of on the interaction that reveals it
- Many small utility or component files that aren’t consolidated into a shared module — each separate file is one more request, and that adds up fast as a storefront grows
- Local-development-only scripts that ship to production without a hostname guard
What to do
Section titled “What to do”-
Open your browser’s network tab, or run a Lighthouse audit, and count the requests in the first second of page load.
Lighthouse lists them under its Network requests diagnostic. For how to run the audit, see Run Lighthouse audits.
-
Find hidden UI, such as a Mini Cart panel, that fetches its scripts, fragments, or styles on every page load, and move that fetch to the interaction that reveals it, such as a click or tap.
For more information, see Load hidden UI on demand.
-
Consolidate small utility files into a shared module instead of sending one request per file.
-
Guard local-development-only scripts behind a hostname check so they never ship to production.
-
Re-run the audit to confirm the request count dropped.
For load-order and LCP guidance beyond request count, see How can I improve the performance of my catalog pages? in the FAQ.