WORKING MACHINES TROUBLESHOOTING

Too many requests: 429 key_rate_limited

PUBLISHED DECEMBER 3, 2026

A request made with an API key is answered with HTTP status 429, the code key_rate_limited and the message "This key has made too many requests. Try again in N seconds." The response has a Retry-After header with the number of whole seconds to wait. Over MCP the same code and message come back, usually as the answer to the request and sometimes in a tool result.

Likely causes

  • This key has sent more requests in a short time than a key may send.
  • Several agents or services share one key, so their requests are counted together.
  • A client retries failed calls immediately, in a loop, and each retry counts as a request.
  • A different 429, with the code approval_limit_reached, means too many of the caller's approval requests are waiting. That one is cleared by the owner answering requests, not by waiting.

Check first

  • Read the code in the body: error.code when the request itself was refused, or errorCode when the limit was reached while an approved action started. key_rate_limited is about the key's own limit; approval_limit_reached is about waiting approvals.
  • Read the Retry-After header. It says how many whole seconds to wait.
  • Check whether more than one agent or service uses this key.
  • Check the client's retry settings for immediate or unlimited retries.

Resolution

  1. 01Wait the number of seconds in Retry-After (the message gives the same number), then send the same request again. Nothing ran, so nothing is lost.
  2. 02Retry with a growing delay and a limit on attempts instead of at once and forever.
  3. 03Give each agent or service its own API key, so that one busy caller does not use up another's requests. Separate keys also keep each caller's record and access lists apart.
  4. 04For writes, send an Idempotency-Key, so that a retry after an unclear failure cannot run the action twice.
  5. 05An agent that receives this answer should wait and continue. It does not need to ask the person for anything.

Verify the fix

  • After the wait, the same request returns its result.
  • The refused request did not run the action, so nothing has to be undone.
  • With one key per caller, a burst from one agent no longer causes 429 answers for the others.

What to include in a support report

Record the client name and version, the MCP endpoint hostname, the time of the failed attempt, and the exact error text. Include the affected provider and action when relevant, but remove authorization headers, cookies, OAuth codes, API keys, and provider data. This evidence distinguishes configuration, authorization, connection, and provider-permission failures without exposing credentials.

Related resources

ONE CONNECTION. REAL WORK.

Give your agent software it can use.

Connect through MCP or explore the Agent App catalog and choose only the capabilities your workflow needs.

EXPLORE AGENT APPS