Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,465
Community Members
 
Community Events
165
Community Groups

Problem with loading pull request

Hello. I have an issue with loading my pull request. Please see the screen

bit.PNG

1 answer

0 votes

Hi @Ana Arakelyan,

There are different possible causes for this error. One possibility is that the diff of the PR is above our limits and the request is timing out. We have the following limits on diffs (listed in this documentation):

  • A file's diff cannot exceed 2000 changed lines or 102,400 bytes (100 KB) of raw diff data.
  • The entire diff cannot exceed 8000 changed lines.
  • The maximum number of files in a single diff is limited to 200.

Can you check locally if the diff of the PR exceeds any of these limits?

If you can provide me the info below, I can also look in our system for more details regarding this error:
- Open Developer tools in the browser you are using (this option is available for Chrome and Firefox)
- Load the Pull Request page that gives this error
- In the Network tab in Developer tools, find the request with a status of 5xx and select it
- In the Headers tab, there should be a field named sentry-id

Please let me know what the value of that field is, and I can look it up in our system for more details.

Please feel free to let me know if you have any questions.

Kind regards,
Theodora

Hello,

Unfortunately, I couldn't find the 5xx state.

I am sending you the whole screen with Network tab.

Kind regards,

Ana

Hi Ana,

Thank you for your reply. Could you please
- check the Disable cache option in the Network tab
- do a hard refresh on this PR page while Developer Tools is open, with the above option checked
and then check the requests in the Network tab again?

Just a heads up, I removed the screenshot from your post for privacy reasons, as it included the workspace-id and repo-name for your repository.

Kind regards,
Theodora

Hello,

Thank you for help.

There are two request with  5** state:

1)   x-sentry-id: 0ee31d56027942c7ad641d44e3ec6acf

2)  x-sentry-id:  6a99ee2662f74201a57235ad6d8a208e

 

Kind regards,

Ana

Hi Ana,

Thank you for your reply. I checked these error codes in our system and they are both associated with a Request Timeout Error.

This indicates that most likely the PR's diff is above the limits we have for viewing diff on our website:

Could you please inspect the diff locally to confirm if any of the above limits are exceeded:

A file's diff cannot exceed 2000 changed lines or 102,400 bytes (100 KB) of raw diff data.
The entire diff cannot exceed 8000 changed lines.
The maximum number of files in a single diff is limited to 200.

One thing you can try is to exclude some files from the PR diff (this can be done by an admin of the repo, from Repository settings > Excluded files). If there are certain large files as part of the PR, you can try excluding them and check if you can view the rest of the diff.

Kind regards,
Theodora

Hello Theodora,

Thank you for help.

Kind regards,

Ana

You are welcome Ana, please feel free to reach out if you ever need anything else.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,229 views 2 9
Read article

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