I'm trying to set up a pipeline in Bitbucket to create upmerges to master after having pushed to a hotfix branch. For that the pipeline should be able to read repositories and create PRs. Though, I stumble into a 401 UNAUTHORIZED status code when I try do any Bitbucket API calls. Both in the pipeline but also when I curl a call via my terminal (I have tried to make a token with all scopes to curl this but that also gave me a 401: curl -u jengnc:[TOKEN] https://api.bitbucket.org/2.0/user).
I have tried with several tokens:
* API Token (where I have selected the relevant scopes)
* Workspace access tokens (where I have selected relevant scopes as well).
Do you know if there are any issues with all this or am I missing to do something? Hints to debugging would also be very appreciated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.