I am getting This error:
[nuget.org] Unable to load the service index for source https://api.nuget.org/v3/index.json. An error occurred while send
The same error is showing for VS2019. For my case Restart the Visual Studio and it's working fine. In my case, it's the network-related issue, you have a proper Internet connection.