Hello,
I am facing a problem using git and bitbucket on WSL2.
I have a user and created a Bitbucket App Password. I use HTTPS for cloning.
For cloning and pulling, the App Password works well.
Only for pushing changes, I get the following error message:
remote: Your credentials lack one or more required privilege scopes.
fatal: unable to access 'https://bitbucket.org/.../.git: The requested URL returned error: 403
I used the same App Password on the windows host system or on other linux systems successfully, but on WSL, it is not working.
How can I handle this error?
Thanks and best,
Christoph
Ok, the APP password was not set correctly in the remote URL
git remote -v
git remote set-url origin https://cschroeer:CORRECT_APP_PASSWORD@bitbucket.org/....git
It is a bit crazy that pulling works, but for pushing this has to be set extra.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.