Forums

Personal Access token failed to authenticate github repo

Hi, I dont' know it's just me or some other people experienced this. I was trying to use git pull in bash and I used personal access token to autheticate my github repo but the bash keeps telling me "remote: Invalid username or password." what did I do wrong?

Check if the remote is set correctly (git remote -v will show you current settings) and if you are using the right credentials.

this is really weird. I tried on Mac it's working. It gives me the error when I used windows system to paste token to the console.

Is the error happening every time on the Windows machine? Make sure you're pasting the right token and it's not being modified by some keyboard shortcut.