Skip to content

How I troubleshoot Amazon Bedrock Guardrails throttling (`ThrottlingException` / "Too many requests")

10 minute read
Content level: Intermediate
1

Amazon Bedrock Guardrails throttles on three independent quota dimensions — requests per second, text units per second per policy, and maximum input size per request. This article shows how to tell which limit you hit from the error message, how to confirm it with CloudWatch metrics and Service Quotas, and which Guardrails quotas you can raise yourself versus which are hard limits.

Amazon Bedrock Guardrails adds a configurable safety layer to a generative AI application. It evaluates the prompts you send to a foundation model and the responses the model returns, then passes the content, blocks it, or masks parts of it. You configure a guardrail from one or more policies — content filters, denied topics, word filters, sensitive information (PII), contextual grounding, and Automated Reasoning — each covering a different class of risk.

Guardrails meters usage on three independent dimensions, and raising one does nothing for the other two. This post covers how to tell which one you hit, how to confirm it, and which quotas you can raise yourself.


Three quota dimensions

Every request is evaluated against each enabled policy in parallel. That's why there isn't a single limit:

DimensionScopeWhat it counts
Requests per secondPer API, per account, per RegionHow many ApplyGuardrail calls you make per second
Text units per secondPer policy, per account, per RegionHow much content each policy processes per second
Maximum input sizePer policy, per requestHow large a single request can be

A text unit contains up to 1,000 characters (reference), so a 5,600-character request counts as 6 text units. Consumption is also multiplicative across policies: the same 1,000 characters evaluated by three policies is 3 text units, not 1.

Three consequences that catch people out:

  1. You can be under your requests-per-second limit and still be throttled, because one policy's text-units bucket is exhausted. A single 500,000-character request is 500 text units — enough to drain a quota at 1 request per second.
  2. Maximum input size is a per-request ceiling, not a rate. Raising a rate quota will never fix an input-size error.
  3. Burst counts separately. As the AWS documentation notes for InvokeGuardrailChecks, a sudden burst within a short window can be throttled even when overall traffic is below the per-minute limit. Smooth traffic over time and retry with exponential backoff and jitter.

Content filters and denied topics also come in Classic and Standard tiers, metered in separate quota buckets. Approved Classic quotas do not carry over when you migrate a policy to Standard.


Step 1 — Read the error message

For Guardrails, the message is usually specific: it names the policy, the tier where applicable, and whether you breached a rate or a per-request input size. Those are different message shapes.

Rate throttling

These begin with Too many requests sent to ApplyGuardrail: On-demand ApplyGuardrail …. What matters is how the message ends:

The message ends with…What you hit
…requests per second limit exceeded.Requests per second — the API call rate, not a policy limit
…content filter policy (Classic tier) text units per second limit exceeded.Content filter text units, Classic
…content filter policy (Standard tier) text units per second limit exceeded.Content filter text units, Standard
…denied topic policy (Classic tier) text units per second limit exceeded.Denied topics text units, Classic
…denied topic policy (Standard tier) text units per second limit exceeded.Denied topics text units, Standard
…sensitive information policy text units per second limit exceeded.Sensitive information (PII) text units
…word filter policy text units per second limit exceeded.Word filter text units
…contextual grounding policy text units per second limit exceeded.Contextual grounding text units

If the message names a policy, it's a text-units problem on that policy, and raising the account requests-per-second quota won't help.

Per-request input size

Input text size (X text units) exceeds the maximum allowed (Y text units) for the <policy> (<tier>).

Self-diagnosing: it prints the size you sent, the maximum allowed, and the policy. A single request was too large — this is not a rate problem.

Generic fallback

Too many requests sent to ApplyGuardrail, please wait before trying again.

No policy or tier named. Treat this as inconclusive rather than a confirmed quota breach, especially at low volume. Retry with backoff first; if it persists while your traffic is well under your limits, collect request IDs and UTC timestamps and open a support case. You may also see more general Bedrock throttling messages such as "Your request rate is too high" — handle those the same way (see this Knowledge Center article).

On message wording: exact phrasing can change over time. Rather than matching a literal string, read your message for two signals: does it name a policy (text units) or only a rate (requests per second), and does it report a size against a maximum (input size).


Step 2 — Confirm with metrics and quota values

CloudWatch metrics for Guardrails turn the error into data:

  • InvocationThrottles — confirms throttling is real and when it happened.
  • TextUnitCount — tells you whether content volume, rather than request count, is the problem.

An alarm on InvocationThrottles turns a production surprise into a notification. For dashboards, alarms, and log queries, see Troubleshooting and monitoring Amazon Bedrock Guardrails usage with Amazon CloudWatch.

Then open Service Quotas → Amazon Bedrock in the same Region as the failing calls. The quota names map onto the three dimensions: On-demand ApplyGuardrail requests per second, On-demand ApplyGuardrail <policy> policy text units per second, and <policy> policy maximum input size in text units.

Two things to get right:

  • Match the tier. Standard names end with (Standard tier - Recommended), Classic with (Classic tier). Requesting the wrong one changes a bucket you aren't using.
  • Check the Region. Defaults vary significantly. On-demand ApplyGuardrail requests per second defaults to 100 in Regions including us-east-1, us-east-2, us-west-1, us-west-2, ap-northeast-1, ap-northeast-2, ap-south-1, ap-southeast-1, and eu-central-1, but 25 in most others. This is the most common reason for "we get throttled in this Region but not that one."

Step 3 — Which quotas you can raise yourself

Some Guardrails quotas are adjustable — you can request an increase directly in Service Quotas. Others are hard limits.

Adjustable:

  • On-demand ApplyGuardrail requests per second and On-demand InvokeGuardrailChecks requests per minute
  • Text units per second for every policy — content filter and denied topics (both tiers), sensitive information, word filter, and contextual grounding
  • Maximum input size in text units for every policy — content, topic, sensitive information, word, and contextual grounding

So both the per-second rates and the per-request input sizes can be raised. If your error was an input-size breach, request the matching maximum input size quota, not a rate quota.

Not adjustable:

  • All burst rate quotas — ApplyGuardrail requests burst rate, InvokeGuardrailChecks requests burst rate, and the text-units burst rate for every policy
  • Contextual grounding sub-limits — query length (1 text unit), response length (5), grounding source length
  • Configuration limits — guardrails per account (100), topics per guardrail (30), versions per guardrail (20), words per word policy (10,000), word length (100 characters), regex entities (30), regex length (500 characters), example phrases per topic (5), Automated Reasoning policies per guardrail (2)

Because burst rates aren't self-service adjustable, a short spike can be throttled even when your sustained quota looks healthy. For spiky traffic, smoothing client-side is more reliable than trying to lift a ceiling you can't lift.

⚠️ Verify before you rely on this. Quota names, defaults, and Regional overrides change over time. Confirm current values on the Amazon Bedrock endpoints and quotas page, and check the Service Quotas console for your own account — it shows an Adjustable column per quota, which is the fastest way to know whether you can raise something yourself.


Step 4 — Fix it

SymptomCauseFix
…requests per second limit exceededAPI call rate too highRaise ApplyGuardrail requests per second; add a client-side rate limiter or queue; retry with backoff and jitter
…<policy> policy … text units per second limit exceededThat policy's text-units bucket exhaustedRaise that policy's text-units quota (matching tier); send less content per call; use input tagging; review whether every enabled policy is needed for your use case
Input text size (X) exceeds the maximum allowed (Y)Single request too largeChunk the input — fastest fix, no quota change needed; or raise that policy's maximum input size quota
Generic please wait before trying again, low trafficInconclusiveRetry with backoff; check InvocationThrottles and your quota values; open a support case with request IDs
Throttling started after an org-wide changeEnforced guardrails multiplying consumptionCheck the enforcement config; scope it with excluded models; raise quotas for the calling account
Throttles in one Region onlyLower Regional defaultCheck that Region's quota value
Throttled in short spikes onlyBurst rate (not adjustable)Smooth traffic client-side; retry with backoff and jitter

Two notes on the fixes above. Input tagging is usually a better lever than reducing policy coverage: it lowers consumption while keeping your protections intact. And if you do review which policies are enabled, keep the coverage your application genuinely needs — throughput isn't a good reason to drop a safeguard you depend on.


Two things worth knowing

Enforced guardrails multiply consumption. With enforcements, a guardrail can be applied automatically at the account or organization level. All applicable guardrails are evaluated at runtime — yours, account-level, and organization-level — and each is metered separately against the account making the call. A workload comfortably within quota can start throttling right after enforcement is enabled, with no change to your code. Use the model enforcement controls to scope it narrowly.

Text units, not request count, are what people underestimate. If you're under your rate limit and still throttled, check TextUnitCount before requesting anything.


When you request an increase

Include:

  • Account ID and Region for the failing calls
  • The exact quota name (including the tier suffix) and the value you want
  • The exact error message
  • Traffic profile — requests per second and input size at p50 / p90 / peak, steady or spiky
  • Which API you call — ApplyGuardrail, Converse / InvokeModel with guardrailConfig, or InvokeGuardrailChecks
  • Launch or ramp date and expected growth

Request headroom before a launch rather than during one — quota increases are not instant.


References

AWS
EXPERT

published 3 months ago795 views