Hey!!
I am trying to fetch all the files from my directory. The curl which I am using is
```
curl -u "deepakpatankar:xxxx" -X 'GET' 'https://api.bitbucket.org/2.0/repositories/deepakpatankar/git-sync-test/src/master/bitbucket?page=1&pagelen=10'
```
But this request fails with the error
```
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Something went wrong — Bitbucket</title>
<link rel="stylesheet" href="https://d301sr5gafysq2.cloudfront.net/dfb18959be9c/css/entry/bare-aui-8.css">
</head>
<body class="adg3 error-layout-bare ">
<div id="page" data-error-page>
<div class="adg3-navigation-bare">
<div class="adg3-navigation-bare--item">
<a href="/" class="adg3-navigation-bare--link">
<div class="adg3-navigation-bare--logo"></div>
</a>
</div>
</div>
<div id="wrapper">
<div id="content" role="main">
<div class="aui-page-panel aui-page-panel-no-header">
<div class="aui-page-panel-inner">
<div id="error" class="500 aui-page-panel-content">
<span class="icon icon-500"></span>
<h1>
Something went wrong
</h1>
<p>
While we check things on our end, try refreshing the page. If reloading the page doesn’t help, check our
<a class="support-ga"
data-support-gaq-page="SiteStatus"
href="https://status.bitbucket.org/">status page</a>
for known incidents or planned maintenance.
</p>
<p class="status">
If you are still experiencing issues, our support team can be reached via StatusPage.
Use the code below when reporting your issue, this will help the team look up details of what went wrong:
</p>
<p><code>70b9c705fd214998bfd16d53c09915ba</code></p>
</div>
</div>
</div>
</div>
</div>
</div>
<script nonce="">
// Google Analytics tracking (BB account & BB marketing profile)
window.ga = window.ga || function () {
(window.ga.q = window.ga.q || []).push(arguments);
};
window.ga.l = +new Date();
window.ga('create', 'UA-76642781-3', 'auto', 'atl');
window.ga('atl.send', 'pageview', '/errors/500django');
window.ga('atl.set', 'referrer', document.URL);
document.querySelectorAll('.support-ga').forEach(link => {
link.addEventListener('click', () => {
window.ga('atl.send', 'pageview', '/support/' + link.dataset.supportGaqPage);
});
});
</script>
<script async src="https://www.google-analytics.com/analytics.js" nonce=""></script>
</body>
</html>
```
I read the documentation at https://developer.atlassian.com/cloud/bitbucket/rest/api-group-source/#api-repositories-workspace-repo-slug-src-commit-path-get and the above curl looks correct to me. Can you please have a look and suggest why the API failed.
PS:
I tried the API to get the content of a file and it worked. The curl of that API is very similar to the one having the issue
```
curl -u "deepakpatankar:xxxx" -X 'GET' 'https://api.bitbucket.org/2.0/repositories/deepakpatankar/git-sync-test/src/master/bitbucket/test?page=1&pagelen=10'
```

