Thanks for yout feedback
I've found the bug in my script. The jq command returned the JSON string value with quotes, which means that I sent the value "6.2.5" instead of 6.2.5
The solution in my bash script was to change this line
Code:
COMPATIBLE_ID=$(echo "${COMPATIBLE_LIST}" | jq '.[0].id')
to
Code:
COMPATIBLE_ID=$(echo "${COMPATIBLE_LIST}" | jq --raw-output '.[0].id')