Lesstep
Bitbucket Cloud · REST API · Checked November 10, 2026

Bitbucket: "Rate limit for this resource has been exceeded"

Bitbucket Cloud answers this with HTTP 429 when the caller has used up its request limit for the last hour. The hour rolls: requests older than an hour stop counting, so calls come back minute by minute rather than all at once. Signed-in requests are counted against the user, so every script, CI server, bot and editor extension that signs in as the same account draws on one limit.

The whole answer

HTTP 429
Content-Type: text/plain

Rate limit for this resource has been exceeded

If the request limit runs out: Pull Request Inbox for Bitbucket, a plugin for JetBrains IDEs, reads again every 5 minutes only while its tool window is open, and on a 429 says that the limit was reached.

Which limit

From Atlassian's API request limits, over a rolling hour:

Atlassian documents three headers: X-RateLimit-Limit (requests allowed per hour, not the number left), X-RateLimit-NearLimit (true when less than 20% remain) and X-RateLimit-Resource (the group that gets scaled limits). An anonymous request to a public repository on October 24, 2026 carried none of them.

Who a request counts against, from Atlassian's knowledge base (Bitbucket Cloud Rate Limit Troubleshooting):

In the web pages, the same limit shows as "Something went wrong" with a request to contact support if it continues; the browser's console then shows 429 (Too Many Requests). Atlassian support cannot raise the limits; scaled limits are the only way above them.

What to do

  1. Waiting works. Because the hour rolls, some requests come back within minutes; the whole limit is back an hour after the burst.
  2. Sign in if the tool is anonymous: 60 an hour becomes 1,000 for repository data. Bitbucket Cloud takes an Atlassian API token with your account's e-mail (how each token is sent).
  3. Find what else signs in as you. A CI server polling for pull requests, a dependency bot, a script and an editor extension with the same account all count against the same 1,000. Move automation off your personal account; on Standard and Premium, an access token is also the documented way to the scaled limits.
  4. Poll less. Where a CI server or bot can take webhooks instead of polling, the polling requests disappear.
  5. In your own script, stop and retry later on 429, and slow down when X-RateLimit-NearLimit is true.
  6. Fewer, larger pages: where a list allows it, pagelen=100 brings more items in each request; the largest page size differs between endpoints.
  7. One request at a time: send requests one after another rather than in parallel, and leave at least a second between POST, PUT and DELETE requests (the knowledge base's mitigation steps).

Bitbucket pull requests in IntelliJ IDEA

Pull Request Inbox for Bitbucket, a plugin by Lesstep for JetBrains IDEs 2024.1 or later, lists the pull requests that wait for your review in an IDE tool window. It reads again every 5 minutes only while that tool window is open, and when Bitbucket answers 429 it says that the limit was reached; without a token, it says that the 60 an hour are used up and that an API token raises the limit to 1,000 an hour or more, with reading still free. The review inbox, diffs and discussions are free; approving, commenting and merging are Pro (US$1.50 a month, with a 30-day trial).

Get it on JetBrains Marketplace

Bitbucket and Atlassian are trademarks of Atlassian; IntelliJ IDEA is a trademark of JetBrains s.r.o. This page is not affiliated with or endorsed by Atlassian or JetBrains.

More: Token is invalid, expired, or not supported for this endpoint · Bitbucket pull request plugins for IntelliJ IDEA, compared · 日本語