Missed Team ’24? Catch up on announcements here.

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

REST API 500 server error when requesting commits from a repository ?

Hassan Adel March 20, 2019

Hello,

I'm using a C# app to get commits from a certain repository using the API end point:
https://api.bitbucket.org/2.0/repositories/{username}/{repo_slug}/commits?pagelen=100&page=1

it works fine until it reached page 9 and it returned a 500 server error "something went wrong"
response  https://jpst.it/1EoAK

Kind regards,
Hassan

1 answer

1 accepted

0 votes
Answer accepted
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 26, 2019

Hello Hassan,

The information provided along with the example endpoint you’re using sounds like you might be hitting the request limit within Bitbucket cloud REST API. The error 500, while very generic, does typically mean its a server side error. Depending on how many times you have made the request while testing against Bitbucket, it does seem possible you’re hitting the 1,000 requests per hour limit.

For more information about the Bitbucket cloud REST API limits, please see Rate limits.

I hope this proves helpful and you’re able to get your API requests working within the limits.

Regards,
Stephen Sifers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events