Terraform state push command erro

I have a terraform state file stored locally. I need to push to remote s3 bucket manually and for that I am running the following command

terraform state push terraform.tfstate

I am recieving the following error on it

Error reading source state “terraform.tfstate”: 2 problems:

  • Unsupported state file format: The state file could not be parsed as JSON: syntax error at byte offset 1.
  • Unsupported state file format: The state file does not have a “version” attribute, which is required to identify the format version.

need to understand what the error is an how to solve it

Your terraform.tfstate file is not a valid Terraform state file.