Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

403 forbidden when posting comment to Bitbucket cloud #115

Open
karthikeayan opened this issue Feb 28, 2020 · 0 comments
Open

403 forbidden when posting comment to Bitbucket cloud #115

karthikeayan opened this issue Feb 28, 2020 · 0 comments

Comments

@karthikeayan
Copy link

Expected Behavior

Post a comment in Bitbucket Pull Request

Actual Behavior

INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
INFO: Total time: 9.046s
INFO: Final Memory: 20M/360M
INFO: ------------------------------------------------------------------------
ERROR: Error during SonarQube Scanner execution
com.sun.jersey.api.client.UniformInterfaceException: POST https://api.bitbucket.org/2.0/repositories/account_name/repo_slug/pullrequests/3/approve returned a response status of 403 Forbidden
	at com.sun.jersey.api.client.WebResource.voidHandle(WebResource.java:707)
	at com.sun.jersey.api.client.WebResource.post(WebResource.java:231)
	at ch.mibex.bitbucket.sonar.client.BitbucketClient.approve(BitbucketClient.scala:239)

Plug-in version, SonarQube version, CI system, build type

Plug-in version: built jar from master (440555f)
SonarQube version: 7.6
CI system: Jenkins
build type: PR scan

@karthikeayan karthikeayan changed the title 403 forbidden 403 forbidden when posting comment to Bitbucket cloud Feb 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant