This question is in reference to Atlassian Documentation: 403 while accessing https://{username}@bitbucket.org/{username}/{repo slug}.git/info/refs
#git push -u origin --all
Password:
error: The requested URL returned error: 401 while accessing https://username@bitbucket.org/username/reponame.git/info/refs
fatal: HTTP request failed
--Question : What could be the reason. This is my first upload
Community moderators have prevented the ability to post new answers.
Did you end up resolving this Yash? In the past we had this error due to it being setup under a different origin account, so we'd switch it using this command:
git remote set-url origin https://username@bitbucket.org/username/cms.git
This is not working anymore to resolve this error.
I have similar issue.
Errors getting changes for BIOS-API0479-24
(com.atlassian.bamboo.repository.RepositoryException : java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://bamboo-user03:********@git.okapi-np.in.telstra.com.au/BIOS/topology-service-okapi.git failed with code 128. Working directory was [.]., stderr: [error: The requested URL returned error: 401 while accessing https://bamboo-user03:********@git.okapi-np.in.telstra.com.au/BIOS/topology-service-okapi.git/info/refs, , fatal: HTTP request failed])
what could be the issue?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have this issue, and the first suggestion did not work. (git remote set-url origin https://username@bitbucket.org/username/cms.git)
Any ideas?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.