The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Aron Gombas _Midori_
Community Champion
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 Champion
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.

DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events