Exit code 000 after snapshot

Hello, I use the standard method to produce snapshots of my es index and I try to verify for any problem. So I check in this way:

VERIFY_RESPONSE=$(curl --write-out %{http_code} --silent --output ${tempfile} -XPUT "http://${SERVER_FQDN}:${SERVER_PORT}/_snapshot/${REPO}/${SNAP_NAME}?wait_for_completion=true")
if [ "${VERIFY_RESPONSE}" -eq "200" ]
then ....

I notice that sometimes the exit code is not '200' but it is '000'; I cannot understand if it is an error or not. Can you explain, please?

It will never return a 000, sounds like something else.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.