GitHub Copilot: 403 token expired or invalid — request failed unexpectedly #165646
-
Select Topic AreaQuestion Copilot Feature AreaCopilot Agent Mode BodyI'm getting this error from GitHub Copilot when trying to use agent mode:
This happened without any config changes on my side. I’ve tried:
Still not resolved. Please advise or reset the token/session on your end. |
Beta Was this translation helpful? Give feedback.
Replies: 192 comments 195 replies
-
| Hi, thanks for reporting this! The 403 token expired or invalid error typically means your authentication token for Copilot has expired or become invalid. Since you've already tried restarting the IDE, signing out/in, and reauthorizing — here are a few more things you can try: Additional Steps: Go to GitHub → Settings → Applications → Authorized OAuth Apps Find “GitHub Copilot” and click “Revoke access” Then, sign back in via your IDE to reauthorize from scratch Clear IDE cache or authentication sessions: If using VS Code: Ensure GitHub Copilot is enabled for your account and repository: Go to https://github.com/features/copilot and confirm your subscription and access. If none of these work, the issue might be on GitHub’s backend. In that case, I recommend contacting GitHub Support directly: Hope this helps! Let us know if it gets resolved. |
Beta Was this translation helpful? Give feedback.
-
| https://support.github.com/contact I sent a message to them.Lets see.nothing else works |
Beta Was this translation helpful? Give feedback.
-
| CMD + Shift + P -> Developer: Reload Window solved it. |
Beta Was this translation helpful? Give feedback.
-
| Same issue for me, seems to be down |
Beta Was this translation helpful? Give feedback.
-
| copilot down? |
Beta Was this translation helpful? Give feedback.
-
| In downdetector we trust 🙏 |
Beta Was this translation helpful? Give feedback.
-
| More Like No-Pilot amiright? |
Beta Was this translation helpful? Give feedback.
-
| Chat How do we code without copilot ? |
Beta Was this translation helpful? Give feedback.
-
| i was just about to solve the worlds energy problems and then BAM... 403 |
Beta Was this translation helpful? Give feedback.
-
| copilot down 💀 |
Beta Was this translation helpful? Give feedback.
-
| copilot f |
Beta Was this translation helpful? Give feedback.
-
| Absolute Cinema! |
Beta Was this translation helpful? Give feedback.
-
| omg glad i came here lol |
Beta Was this translation helpful? Give feedback.
-
| comeonnn |
Beta Was this translation helpful? Give feedback.
-
| is copilot down? just died for me |
Beta Was this translation helpful? Give feedback.
-
| Join our discord guys |
Beta Was this translation helpful? Give feedback.
-
| Is back guys 🚀 |
Beta Was this translation helpful? Give feedback.
-
| from 403 to 500 |
Beta Was this translation helpful? Give feedback.
-
| I regret commenting here. My inbox is full of these notfications LOL |
Beta Was this translation helpful? Give feedback.
-
| someone from ms is gonna get fired today 💀 |
Beta Was this translation helpful? Give feedback.
-
| Is it just me or is it slow as f*ck now? |
Beta Was this translation helpful? Give feedback.
-
| Alright guys, day off for everyone, 🍺 Cheers |
Beta Was this translation helpful? Give feedback.
-
| Just realized that I'm not the only desperate guy when it down |
Beta Was this translation helpful? Give feedback.
-
| It's terrifying how dependent we've become on AI since this whole thread is full of people worried they can't code properly anymore. (Says the guy who had to double-check this because English isn't his first language.) |
Beta Was this translation helpful? Give feedback.
-
Claude, gaslighting you with its new "correct" solution |
Beta Was this translation helpful? Give feedback.
-
| Bright side is: no co-pilot = less technical debt. 🤣 |
Beta Was this translation helpful? Give feedback.
-
| I made mine work after a few mins of researching (2+ hours ago). For the solution, I simply followed the instructions stated in this discussions below: https://github.com/orgs/community/discussions/154985#discussioncomment-13858793 |
Beta Was this translation helpful? Give feedback.
-
| Hi, I can't seem to open the chat feature in vscode, kept telling to log in despite loging in |
Beta Was this translation helpful? Give feedback.
-
| i am getting this message : Sorry, your request failed. Please try again. |
Beta Was this translation helpful? Give feedback.
-
| Hey everyone, Thanks for reporting this and being patient while dealing with these 403 errors in Copilot agent mode. What happenedThis was a service outage that hit on September 15-16, affecting users globally. The "token expired or invalid: 403" errors weren't actually authentication problems on your end it was a backend issue on our side. However, post this outage the errors reported in the thread could have variety of underlying issues. Quick fixes that workedFastest solution: Reload VS Code ( If that doesn't work:
Still having issues?First, check githubstatus.com to see if there's an active incident. If services are green and you're still stuck, contact GitHub Support and include:
Helpful resourcesIf you're still experiencing problems and services show as operational, please open a new discussion with your specific details so we can dig deeper. |
Beta Was this translation helpful? Give feedback.


Hey everyone,
Thanks for reporting this and being patient while dealing with these 403 errors in Copilot agent mode.
What happened
This was a service outage that hit on September 15-16, affecting users globally. The "token expired or invalid: 403" errors weren't actually authentication problems on your end it was a backend issue on our side. However, post this outage the errors reported in the thread could have variety of underlying issues.
Quick fixes that worked
Fastest solution: Reload VS Code (
Cmd/Ctrl+Shift+P→ "Developer: Reload Window")If that doesn't work: