Configure consul access for secretstore via EdgeX:vault:8200

While I am trying to build an application which requires consul container to communicate with vault container when generating ACL token roles for other service containers, consul container is facing an inconsistent error,
" Failed to configure consul access for secretstore via http://edgex-vault:8200/v1/consul/config/access with status code 403 permission denied "

But this error is inconsistent. Sometimes it is successfully able to configure and sometimes not.
Please let me know what could be the probable issue.
Thanks in advance