Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

visual studio: "invalid copilot token: missing token: 404"

I've been getting this error while trying to use github copilot in visual studio.

invalid copilot token: missing token: 404 auth status: notauthorized

Things I tried but didn't help - logging out / in; uninstall / reinstall extension(s).

Any ideas?

like image 238
Dr Phil Avatar asked Apr 19 '26 18:04

Dr Phil


1 Answers

For those really looking for a basic answer, assuming you have a GitHub Copilot subscription and that you are signed into GitHub, check the following before going with the above answer.

there is an icon in the bottom left-hand side of the coding window. It looks like this:

Github copilot icon

Now, follow the steps to authenticate your account on Github.

Should work after that.

For those that need a detailed demonstration this YouTube video is a great resource

like image 185
dopecello Avatar answered Apr 23 '26 00:04

dopecello