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

Bitbucket API returns 500 when attempting to get large amount of data

DevOps Support June 25, 2020

Hi,

I'm trying to fetch last commit message for each file in the repo for a specific branch using the following api call:

https://{bitbucket_url}/rest/api/1.0/projects/{project_key}/repos/{repo_slug}/last-modified/{path}?at={branch}

It works fine for a repositories with a small number of files, however I have some huge repositories that I want to fetch data from (>1000 files). 

The response I am getting there is: 500 Internal Server Error

When using browser it looks like:

500.png

I tried to increase timeouts, but it didn't help. And seems like there is no solutions to set limits using pagination (tried adding &limit=25 to a query - no results).

Any suggestions? Any help would be appreciated. 

Regards

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
4.14.2
TAGS
AUG Leaders

Atlassian Community Events