Received 403 error when trying to push to my own repository

I have been at this for hours I am trying to push to my own repository and haven’t had any problems until the PAT token expired. I regenerated the token and still have the same problem. i have tried virtually everything on the internet. Can some one please help or point me in the right direction?

Regenerating the token effectively gives you a new token (different value) with the same permissions. Maybe you have the old token still cached in some kind of credential manager? If so you need to replace it with the new token, or just delete it and enter the new token when asked.

I figured it out, I was supposed to click repo when making the access token. I hope this helps someone in the future

2 Likes