Http status code 412 when using https

Still need help?

The Atlassian Community is here for you.

Ask the community


When attempting to perform git activities over https with Bitbucket Cloud, you may encounter this error:

error: The requested URL returned error: 412 while accessing https://{username}{username}/{repo name}.git/info/refs
fatal: HTTP request failed


This error is due to not having a password set on your account. This can happen if you've created your account using the "Log in with Google|Twitter|Facebook|GitHub" and opted to not create a Bitbucket Cloud password during the sign-up process, as shown below. The actual error message you are seeing is a bug, which is being tracked here.


If you choose to use https to operate with Git, you'll need to set a password on your account. This can be done by going to the Manage account menu item in the upper right corner of any page. It can also be found directly at{YOUR USERNAME}/. If you do not wish to set a password on Bitbucket Cloud, you can still authenticate your actions using SSH. Please review our guide to setting up SSH.



Last modified on Mar 30, 2016

Was this helpful?

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