Query condition missed key schema element: Key

Hi, I using vault with dynamodb for HA.

VAULT_ADDR=http://0.0.0.0:8200 vault operator init
And I receive this error:

[ERROR] core: barrier init check failed: error="failed to check for initialization: ValidationException: Query condition missed key schema element: Key

What is the error?

. .
Table name poc-vault
Primary partition key Key (String)
Primary sort key Path (String)
             Version: Vault v1.5.4
             Log Level: debug
             Mlock: supported: true, enabled: true
             Recovery Mode: false
             Storage: dynamodb (HA available)

This problem is the schema hash_key and range_key was inverted.

I changed and ok.

Correct configuration:

      hash_key: "Path"
      range_key: "Key"