401 when pushing to DAGsHub

Viewed 101

I signed up to DAGsHub using my Github user, and I'm getting code 401 when trying to git push to my DAGsHub repo.

Total 8 (delta 2), reused 0 (delta 0)
error: RPC failed; result=22, HTTP code = 401
1 Answers

You may have forgotten to set a password for DAGsHub.

Look carefully at the output you get from the git push.

If you have no configured password, then the output instructs you to visit your user settings menu to choose a password, which you will need to use when git pushing to DAGsHub.

Alternatively, you can create and use an access token.

BTW, DAGsHub has a support Discord channel: https://discord.com/channels/698874030052212737/698874030572437526

Related