Hello. I’m unable to clone a repository using an API token. I’ve gone through the documentation and checked related threads on this forum.
I’ve tried cloning both via WebStorm and directly from the command line using git clone
.
I tested different formats, including cloning with just the username and also with the username and token separated by a colon.
In the best case, I end up with this error:
Your credentials lack one or more required privilege scopes. fatal: unable to access 'https://bitbucket.org/***/***.git/': The requested URL returned error: 403
I’m wondering if I granted the correct permissions when creating the token.
Is the admin:repository:bitbucket
scope sufficient for cloning a repository, or do I need to include other scopes as well?