Error codes · Git
PULSE-GIT-007 The repository server did not accept the login
What does this mean
The server where the repository is located - GitHub, GitLab or another - did not allow git: it did not recognize you or your account does not have rights to this repository. Your files and commits on your computer are intact.
Why does this happen
Git enters the server in one of two ways, and the repository address shows which one:
- address
https://…— login and token. An error means that they were not entered, they are out of date or withdrawn. In "More details" git writesAuthentication failed,could not read UsernameorHTTP Basic: Access denied. If you click Cancel in the login window, git will respond the same way; - address
git@…- SSH key. The server does not know the key of this computer:Permission denied (publickey).
It also happens that the input is correct, but the account does not have the right to write to this repository.
What to do
Address https://…
- Issue an access token on the server with permission to the repository. On GitHub, the account password is not suitable for git - you need a token.
- Repeat the action in Pulse. When git asks for login, Pulse will show the "Git Requests Access" window: enter the login, then the token. Check "Remember for..." to have Pulse store them encrypted and not ask you again.
- The window did not appear - log in via terminal: execute in the project folder
git pushand enter the login and token when git asks.
Address git@…
- Check that this computer's SSH key has been added to your profile on the server. Checking in the terminal:
ssh -T git@github.com- or your server address insteadgithub.com. - Repeat the action.
No rights to the repository — ask the repository owner to give your account write access.
When to write to support
Write to us if git push it works in the terminal, but not in Pulse. Click “Send report” in the error card - a report form will open, where the code and details have already been entered, the secrets are hidden in them. Add what you did before the error and click “View and Send”: the window will show exactly what is left - check and click “Submit”. If the cloud is turned off, the button is called “View and save” - send the resulting file to us in any way.