Learning center

S3 503 Slow Down errors: a hot prefix or a regional problem?

An S3 503 with the error code SlowDown means your request rate on some prefix is above what S3 currently serves for it, often while S3 scales. Find the prefix and the operation from request metrics or access logs. If the errors spread across buckets, prefixes and error codes such as ServiceUnavailable, check the Region's health instead.

What the error says#

S3 returns SlowDown with HTTP 503 and the description "Reduce your request rate". A different code, ServiceUnavailable, is also a 503, described as the service being unable to handle the request. The SDK exception carries the code from the response body, so log it next to the status. S3 error codes

S3 supports at least 3,500 PUT/COPY/POST/DELETE or 11,000 GET/HEAD requests per second per partitioned prefix, and scales to higher rates as traffic grows. A partitioned prefix is one whose keys S3 has given their own partition. Scaling is gradual, and while it happens you may see 503 Slow Down errors that stop when it completes. A high request rate to a prefix that previously had little or no traffic can get them until S3 scales for it. S3 performance guidelines · S3 design patterns

A prefix is any run of leading characters in a key, and / has no special meaning, so splitting keys into folder-like paths does not by itself spread load. S3 performance guidelines

This guide is one of a set on runtime dependency failures.

The nearby causes#

  • A new or newly hot prefix. A job starts writing at full rate to keys that S3 has not scaled for, such as today's date prefix.
  • A sustained rate above what one prefix serves. Every request goes to the same leading characters, for example sequential names.
  • A regional or service problem. Errors appear for many buckets and operations, often with ServiceUnavailable or InternalError, and other AWS services in the Region misbehave too.

With SSE-KMS, each object request may also call AWS KMS, which has its own request quotas. The S3 performance guide points to the KMS limits for that case. S3 performance guidelines

Why they look alike#

The SDKs classify SlowDown as a throttling error and retry it with backoff, by default up to three attempts. Most requests then succeed, so the application logs only the final failures and a higher latency. A regional problem also produces 503s that retries partly absorb. Retry behavior · S3 design patterns

Find the prefix and operation#

Start with what was already configured, because S3 keeps no request-level record by default. These commands only read configuration.

aws s3api list-bucket-metrics-configurations \
  --profile PROFILE --region REGION --bucket BUCKET --no-cli-pager

aws s3api get-bucket-logging \
  --profile PROFILE --region REGION --bucket BUCKET --no-cli-pager

Request metrics are opt-in, billed like custom CloudWatch metrics and reported at 1-minute intervals. A metrics configuration can cover the whole bucket or filter by prefix, object tag or access point, and its ID becomes the FilterId dimension. For 5xxErrors, the Sum statistic is the count in each period and Average is the error rate. Delivery is best effort, so treat the numbers as close, not exact. Request metrics · S3 metrics and dimensions

aws cloudwatch get-metric-statistics \
  --profile PROFILE --region REGION --namespace AWS/S3 --metric-name 5xxErrors \
  --dimensions Name=BucketName,Value=BUCKET Name=FilterId,Value=FILTER_ID \
  --statistics Sum --period 60 \
  --start-time START --end-time END --no-cli-pager

Repeat with AllRequests, GetRequests and PutRequests to see the rate behind the errors. A configuration filtered by prefix answers the prefix question directly; a bucket-wide one shows only when.

Server access logs name each request's operation, key, HTTP status and error code. Records arrive best effort, most within a few hours, and some may never arrive. Server access logging · Log format

Copy the log objects for the window from the target bucket into a local directory (the copy reads S3 and changes nothing there), then count SlowDown responses by operation and the key's first characters. In the documented format, splitting on spaces puts the operation in field 8, the key in field 9, the status in field 13 and the error code in field 14.

cat LOG_DIR/* \
  | awk '$14 == "SlowDown" { print $8, substr($9, 1, 12) }' \
  | sort | uniq -c | sort -rn | head

Change the 12 to the length of your key's fixed leading part, such as a date or tenant segment. CloudTrail data events also record object-level calls, but CloudTrail does not log them by default, they cost extra, and event history never shows them. S3 CloudTrail events

Rule out the Region#

The AWS Health Dashboard service health page shows public events for every Region without signing in, and its service history covers the last 12 months. Signed in, your account health view shows events that affect your resources. The Health API needs a Business or Enterprise support plan. Health Dashboard · AWS Health

Decision table#

ObservationPoints to
SlowDown on one prefix, one operationHot prefix
Started with a new job or new key patternPrefix not yet scaled
Errors fade over minutes at the same rateS3 scaling under way
ServiceUnavailable across buckets and operationsRegional or service issue
Other services in the Region failing tooRegional issue

An illustrative incident with two outcomes#

This example is illustrative. The orders export job in account 111122223333 writes one object per order to the bucket example-orders-exports, keyed exports/2026-11-23/ORDER_ID.json. At 00:02 UTC the job starts and reports intermittent 503s; the SDK retries most of them.

In the first outcome, a bucket-wide request metrics configuration shows PutRequests jumping from about 9,000 a minute before 00:02 to 300,000 a minute after, with 5xxErrors from the same minute. The access logs, read the next morning, show every SlowDown on REST.PUT.OBJECT with keys starting exports/2026-11-23/. Every night's writes land on a fresh date prefix at full rate. The errors decline after about twenty minutes as S3 scales, and return the next night on a new date. Putting a hash character of the order ID at the front of the key keeps traffic on a stable set of prefixes that S3 scales for once. S3 design patterns

In the second outcome, the same job fails with ServiceUnavailable and InternalError on both reads and writes, on this bucket and on an unrelated payments bucket whose rate has not changed. The service health page shows an S3 event for the Region from 00:04. Changing key names would not help, and the regional event is the lead to follow.

Limits#

Without a request metrics configuration or access logging in place before the incident, S3 holds no per-prefix record of it; you have only what your application logged. Request metrics and access logs are both best effort and are not a complete count of requests. Request metrics

The documented rates are a minimum per partitioned prefix. None of these sources shows how S3 has partitioned a bucket at a given moment, so the prefix is inferred from where the errors fall. Other AWS throttling uses different codes and tools. AWS API throttling or quota · Third-party 429 or 503

Questions#

What is the S3 request rate limit per prefix?

S3 supports at least 3,500 PUT/COPY/POST/DELETE or 11,000 GET/HEAD requests per second per partitioned prefix, and scales beyond that as traffic grows. Scaling takes time, and 503 Slow Down responses during it are expected.

Does adding slashes to S3 keys spread the load?

No. S3 does not treat / specially, so a folder-like path is just more characters in the same prefix. Spread requests by varying the leading characters, for example with a character from a hash of the key.

Is SlowDown the same as ServiceUnavailable?

Both are HTTP 503. SlowDown asks you to reduce your request rate. ServiceUnavailable says the service cannot handle the request, which points away from your key pattern and toward the service.

One month of free code review.

New organizations get one calendar month of hosted code review for private and public GitHub repositories. No card or cloud connection required. Eligibility and fair-use terms.

Start free with GitHub

Related reading