Git push returns error code 403

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

When pushing to Bitbucket Server 1.0.0, it responds with the error code 403.

$ git push url directory
Cloning into 'directory'...
error: The requested URL returned error: 403 while accessing url
fatal: HTTP request failed

Cause

You do not have permissions to push changes to this repository. 

Bitbucket Server 1.0.1 and above do not respond with a 403, instead they give an explicit error description in the output of the git command.

Resolution

See Creating projects. You have permission to see the repository, but not to contribute.

 

 

 

 

 

 

 

 

 

 

 

Last modified on Sep 16, 2015

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.