While initializing terraform getting "invalid legacy provider address" error

Hi Team,

We are getting below error during the terraform initialization.

TF State details:-
“version”: 4,
“terraform_version”: “0.13.4”

Linux instance terraform version : 1.6.3

We downgraded to 0.13.0 and 0.14.0 still getting same error.

ERROR :- initializing the backend…
81Successfully configured the backend “gcs”! Terraform will automatically
82use this backend unless the backend configuration changes.
84│ Error: Invalid legacy provider address
86│ This configuration or its associated state refers to the unqualified
87│ provider “google”.
89│ You must complete the Terraform 0.13 upgrade process before upgrading to
90│ later versions.
93Cleaning up file based variables00:01
95ERROR: Failed to cleanup volumes
96ERROR: Job failed: exit code 1

Tried below command as well.
#terraform state replace-provider “Terraform Registry” “hashicorp/google”
Error loading the state: Failed to load state: Terraform 1.6.3 does not support state version 4, please update.

Please ensure that your Terraform state exists and that you’ve
configured it properly. You can use the “-state” flag to point
Terraform at another state file.