Bitbucket Cloud: Resource not found

When attempting to integrate with bitbucket cloud
http://sonarqubeip:9000/projects/create
global DevOps platform integration settings
i have given sonarqube Repositories & Pull Requests read
i am receiving:
You have the following errors in your configuration:
Error returned by Bitbucket Cloud: Resource not found

the system logs in sonarqube show:
2024.08.28 22:01:37 INFO web[AZC4Sg3NeGIU7LmUAC/S][o.s.a.c.b.b.BitbucketCloudRestClient] Error returned by Bitbucket Cloud: 404 Resource not found
2024.08.28 22:04:08 INFO web[AZC4Sg3NeGIU7LmUAC/U][o.s.a.c.b.b.BitbucketCloudRestClient] Error returned by Bitbucket Cloud: 404 Resource not found

version:
9.0.1.46107
we purchased Sonarqube VM on Ubuntu 22.04 LTS via Azure Store from Askforcloud.us,
the VM is in Azure cloud, with full internet access but does not have a Public IP and it cannot be access from outside (if this is at all relevant)

for callback URL, sonarqube specifies in documentation that any URL will do so i just did the main page for our bitbucket workspace
https://bitbucket.org/mycompanyname

reviewed docs:

Hey there.

Hi,

Your version is past EOL. You should upgrade to either the latest version or the current LTA (long-term active version) at your earliest convenience. Your upgrade path is:

9.0.1 → 9.9.6 → 10.6 (last step optional)

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after upgrade, please come back to us.

1 Like

Colin thanks, i dont know how i didnt think of checking version releseas. anywho i did upgrade to 9.9.6. however now when i try to integrate with bitbucket cloud im asked to provide user credentials. isnt OAuth consumer the whole point, why is it asking for user credentials. trying to get a service account created at this point to finish the integration.
message i receive:

Bitbucket Cloud project onboarding
Grant access to your repositories
SonarQube needs an app password to access and list your repositories from Bitbucket Cloud.
Enter your Bitbucket username*
Enter your app password ***

This ensures that you only see the repositories you actually have access to, and not all repositories in your Bitbucket Cloud instance.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.