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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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
Community showcase
Posted in Bitbucket

How do you use the Bitbucket-Jira integration? How does it help your team?

Hey everyone, over the past year, we've added several new features on how you can use Bitbucket and Jira together. We'd love to know how you'll are using the integration and how it's helping your t...

159 views 0 2
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you