Vault Communication error with Consul

I performed a Vault deployment on AWS with terraform using consul as a backend.
I have 3 consul nodes and 1 vault node.
when I tried to connect to vault I had no response. I reviewed the vault status on the VM hosting vault and this is the issue reported by vault.
I executed the following command to get the error:
service vault status
"storage migration check error: error="Unexpected response code: 500
any hints on how to solve the issue?

have you set the consul ACL token into the Vault configuration for the Consul backend? That was generally my error when I saw this.