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
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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.