S3 Delete action deletes object successfully but query fails with "Unexpected end of JSON input"

Summary

On a self-hosted Retool 4.34.3-stable deployment using a native S3 resource against Garage (an S3-compatible store), the 'Delete a file from S3' action successfully removes the object and the backend logs plus the /api/playground/query call both return HTTP 200 with an empty body, yet the query is reported as failed with 'Failed to execute json on Response: Unexpected end of JSON input'.

AI Response

This behavior matches a known issue where Retool attempts to parse an empty but successful response body (e.g., an HTTP 204 / empty 200 from a DeleteObject call) as JSON and errors out even though the operation succeeded. A Retool staff member has acknowledged this class of error and tied it to ongoing work replacing an older backend library, noting a fix was pending review. This deployment is already on 4.34.3, which is the latest stable self-hosted release, so the fix may not yet be present there; testing on a current Edge release (Edge carries changes ahead of stable) is the most direct way to confirm whether it resolves the empty-response handling. In the meantime, recreating the query has sometimes helped, and the deletion itself is completing correctly despite the reported error.

Sources

:bookmark: Unexpected end of file
Corroborates the same root cause — Retool failing to parse an empty/204 successful response as JSON — with staff confirming it stems from replacing an older backend library and that a fix was awaiting review.

The Community Team is testing out a new automation. Let us know if it's helpful (or not) by leaving a :heart:, :+1:, or :-1:. Or by marking this post as the "Solution"! Let us know if you have any feedback here. :rocket: