Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Received status code 429 from server: Too Many Requests

Forest Meng
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 18, 2023

Hi guys:

 I set up pipelines in Concourse CI, to build our Android application, some jobs including build, code lint, unit test, but i always got some error

Log as below:

 

Could not determine the dependencies of task ':xxx:testDebugUnitTest'.
14:01:42
> Could not resolve all task dependencies for configuration ':xxxx:debugUnitTestRuntimeClasspath'.
14:01:42
> Could not resolve com.xxxx.android:xxxx:{version}.
14:01:42
Required by:
14:01:42
project :xxx
14:01:42
> Could not resolve com.xxxx.android:xxxx:{version}.
14:01:42
14:01:42
> Could not GET 'https://api.bitbucket.org/2.0/repositories/{company}/{repository}/src/master/com/android/{version}/xxxx.pom'. Received status code 429 from server: Too Many Requests
xxxx.pom is belong with my other Bitbucket repository.
Do you have any idea to fixed it?

1 answer

0 votes
Aron Gombas _Midori_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 19, 2023

The response code 429 means that you sent too many requests to Bitbucket Cloud in a short time window, therefore "rate limiting" activated itself and started to reject further requests.

You should identify what generates the requests and "reduce them". 

See: https://support.atlassian.com/bitbucket-cloud/docs/api-request-limits/

Forest Meng
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 21, 2023

@Aron Gombas _Midori_ 

Thanks, that's very helpful for me, but i have other question, how to increase the limited request when i using authenticated requests? 

Aron Gombas _Midori_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 22, 2023

You cannot lift rate limits. Those are defined by Atlassian.

What you can do is sending less requests (by batching multiple operations into one if possible) or the same number of request, but over a longer period.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events