Forums

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

file could not be downloaded (HTTP/2 429 ) on 'composer update'

Joseph Indurante
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!
October 24, 2023

I am encountering the following issue while executing 'composer update' on my project:

**Error:** The requested files could not be downloaded (HTTP/2 429).

This problem specifically arises when Composer attempts to download certain private repositories.

In my composer.json file, I have defined repositories as follows:


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

Considering that I should be comfortably within the limit of 1,000 requests per hour, I am seeking insights into the possible reasons for this error. Your assistance in resolving this matter would be greatly appreciated.

1 answer

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

G'day, @Joseph Indurante 

Welcome to the community.

My question is, are you authenticated when making API calls? If not, you are probably using anonymous requests, which are limited to 60 requests per hour, as stated in our documentation.

API request limits 

Regards,
Syahrul

Joseph Indurante
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!
October 30, 2023

@Syahrul we are using an auth.json with consumer-key, consumer-secret, and access-token

Suggest an answer

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

Atlassian Community Events