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?
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:

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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With