unable to view pull requests
Asked by Carl Stewart:

Whenever I try to view a pull request, it will show it while it is trying to retrieve the diff of the commits it includes. Once that is done, the page refreshes itself, and then the page is blank.

Here is what the console returned to me for errors:

```
Error: Minified React error #130; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=undefined&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
Stack trace:
qc@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a62b153b.js:21:111934
Bi/<@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a62b153b.js:21:56871
qa@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a62b153b.js:21:68213
es@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a62b153b.js:21:72381
Xa@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a62b153b.js:21:72079
Ds@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a62b153b.js:21:107581
Tc@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a62b153b.js:21:99055
Cc@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a62b153b.js:21:98980
yc@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a62b153b.js:21:96010
ui/<@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a62b153b.js:21:47756
b@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a62b153b.js:21:123671
ii@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a62b153b.js:21:47465
ui@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a62b153b.js:21:47701
ci@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a62b153b.js:21:47636
hc@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a62b153b.js:21:92795
enqueueSetState@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a62b153b.js:21:51422
Y.prototype.setState@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a62b153b.js:15:113223
e@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a62b153b.js:21:181571
_loadModule/<@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a62b153b.js:21:181681
app.a62b153b.js:15:22084
SyntaxError: expected expression, got keyword 'import'[Learn More] shared.e2b61f83.js:46:67405
```

This was working on Friday May 20/2022.


Answers:
author: Patrik S
body: Hello [@Carl Stewart](/t5/user/viewprofilepage/user-id/838634) ,

Thank you for reaching out to Atlassian Community.

This usually happens because of browser cache/extensions that might be impacting the page to load.

If possible, could you please try using a different browser and check if the issue persists? Please make sure to use one of the supported browsers listed in [Which browsers does bitbucket support ?](https://support.atlassian.com/bitbucket-cloud/docs/which-browsers-does-bitbucket-support/)

Also, you can try clearing the cache of your current browser or using Incognito mode to check if there's any cache causing the issue here. Another suggestion is to disable the extensions of the browser, if any, and check if the page loads correctly.

Hope that helps! Let me know in case you have any questions.

Thank you, [@Carl Stewart](/t5/user/viewprofilepage/user-id/838634) .

Kind regards,

Patrik S

comments: author: Carl Stewart
body: I tested in a clean profile with no extensions, and it still was not able to view the pull request once the diff was loaded. Here's the errors from the console:

```
SyntaxError: expected expression, got keyword 'import'[Learn More] shared.06234883.js:46:67405
GET XHR https://bitbucket.org/!api/internal/user/preferences/%7Bc44a70d9-51e2-4b7e-b687-16626fefd318%7D/transition-issue-on-merge-preference/ [HTTP/2.0 404 Not Found 220ms]
GET XHR https://bitbucket.org/!api/internal/user/preferences/%7Bc44a70d9-51e2-4b7e-b687-16626fefd318%7D/default-jira-project%3Amatrixstreambackendui%2Fbackendui/ [HTTP/2.0 404 Not Found 182ms]
[@atlaskit/theme]: The visually hidden mixin is deprecated. Please use `@atlaskit/visually-hidden` instead. app.a76f4adc.js:15:22084
SyntaxError: expected expression, got keyword 'import'[Learn More] shared.06234883.js:46:67405
GET XHR https://bitbucket.org/!api/internal/user/preferences/%7Bc44a70d9-51e2-4b7e-b687-16626fefd318%7D/transition-issue-on-merge-preference/ [HTTP/2.0 404 Not Found 220ms]
GET XHR https://bitbucket.org/!api/internal/user/preferences/%7Bc44a70d9-51e2-4b7e-b687-16626fefd318%7D/default-jira-project%3Amatrixstreambackendui%2Fbackendui/ [HTTP/2.0 404 Not Found 182ms]
Error: Minified React error #130; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=undefined&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
Stack trace:
qc@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a76f4adc.js:21:111934
Bi/<@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a76f4adc.js:21:56871
qa@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a76f4adc.js:21:68213
es@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a76f4adc.js:21:72381
Xa@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a76f4adc.js:21:72079
Ds@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a76f4adc.js:21:107581
Tc@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a76f4adc.js:21:99055
Cc@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a76f4adc.js:21:98980
yc@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a76f4adc.js:21:96010
ui/<@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a76f4adc.js:21:47756
b@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a76f4adc.js:21:123671
ii@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a76f4adc.js:21:47465
ui@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a76f4adc.js:21:47701
ci@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a76f4adc.js:21:47636
hc@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a76f4adc.js:21:92795
enqueueSetState@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a76f4adc.js:21:51422
Y.prototype.setState@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a76f4adc.js:15:113223
e@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a76f4adc.js:21:181571
_loadModule/<@https://d301sr5gafysq2.cloudfront.net/frontbucket/assets/present/app.a76f4adc.js:21:181681
app.a76f4adc.js:15:22084
```

This shows it was never a problem with any extensions.

I use waterfox classic 2022.04 as my web browser, which is the latest release. Please enable the option for the previous version of pull requests so it can work again.


author: Patrik S
body: Hello [@Carl Stewart](/t5/user/viewprofilepage/user-id/838634) ,

I'm afraid that Waterfox Classic is not on the list of [officially supported browsers](https://support.atlassian.com/bitbucket-cloud/docs/which-browsers-does-bitbucket-support/), so you may encounter unexpected bugs if you are using it.

My suggestion, in this case, would be to use one of the supported browsers ([Chrome](https://www.google.com/chrome/), [Firefox](http://www.mozilla.org/firefox/), [Safari](http://www.apple.com/safari/), and [Microsoft Edge](https://www.microsoft.com/en-us/windows/microsoft-edge)) and check if the issue persists. This is because Bitbucket Cloud is tested against those browsers and you should not face the same issue if using the latest version of one of the above.

Thank you, [@Carl Stewart](/t5/user/viewprofilepage/user-id/838634) .

Kind regards,

Patrik S


Tags: bitbucket-cloud

cloud