Terraform validate and plan fails with pulgin invalid error

Hi,

I am trying to run a simple script to create an azure vnet and getting failed with below error. This error I am getting very intermittently. When I had same issue few days ago, I closed all my browser and vs code and ran again and it worked but same workaround is not fixing now.

│ Error: failed to read schema for azurerm_resource_group.myrg11 in Terraform Registry failed to instantiate provider “Terraform Registry” to obtain schema: Unrecognized remote plugin message:
*│ *
│ This usually means that the plugin is either invalid or simply
│ needs to be recompiled to support the latest protocol.