For other people struggling, this also does the trick if you're having issues with a private source (in my case, a GitHub Repo Source), verified that your PAT/account data is valid and still getting these errors. Simply delete the nuget.config and restart your IDE / run dotnet build/restore, it will somehow restore some corrupted indexes somewhere. Then add your private source back in and voilá.