Inconsistent retrieving secrets from hashicorp vault

Hi,
I am trying to retrieve secrets using approle for the hashicorp vault. I am having inconsistent reads. I execute the command “vault read -field=“ab” kv/mytest/”, I get the output. When I execute it again I get “No value found at kv/mytest”. I clearly don’t want this to happen when I am appending secrets to my environment file in production. This does not happen if I run a vault server locally and read secrets. How do I resolve this issue?vaultIssue