Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

ERROR APPROVE PR FOR API TOKEN PERSONAL

Jesus Alejandro Cardenas Vilca
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 23, 2026

Endpoint: POST /2.0/repositories/{workspace}/{repo}/pullrequests/{id}/approve
Token type: api_token (ATATT)
Scopes configured: write:pullrequest:bitbucket, read:pullrequest:bitbucket
x-accepted-oauth-scopes: pullrequest:write ← formato viejo
x-oauth-scopes: write:pullrequest:bitbucket ← formato nuevo
Result: HTTP 400 Bad Request

The endpoint is not accepting the new API token scope format
even though documentation states write:pullrequest:bitbucket
should allow approving PRs.

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events