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

error 429 when 'composer update'

Jordan
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!
January 16, 2023

I am receiving an error 429 (too many requests) when I run 'composer update' on my project.

It occurs when it tries to download some private repositories.

I am using the auth.json file for .composer, which includes my consumer-key, consumer-secret, access-token, and access-token-expiration.

In my composer.json file, my repositories are configured as follows:

{ "type": "vcs", "url": "https://bitbucket.org/******.git" }

I have checked and I am under the limit of 60,000 requests per hour. Can anyone suggest a possible reason why I am receiving this error?

1 answer

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 17, 2023

Hey @Jordan 

G'day, and welcome to the community!

I believe the composer update downloads the package via API, not through git. So if it goes through API, then the access uses  /2.0/repositories/*  endpoint, and this is limited to only 1,000 requests per hour; Bitbucket request limit 

I can dig into it further if you are interested please let me know so I can create a support ticket on your behalf of you.

Cheers,
Syahrul

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events