S3 Upload data action not working

Goal:
Upload a file to a S3 bucket

Steps:

  • Create a S3 resource
  • Test connection: OK
  • Created a S3 query with action type: 'Upload data'
  • Fill in hard-coded values to test (see screenshot)
  • Save and click 'Run'
  • Retool throws JS NetworkError

Details:
I am just using simple values to test the trigger and that already fails (see screenshot). The final plan is to upload a file from a file upload or dropzone.

The only error Retool logs:

query18 failed (0.996s):NetworkError when attempting to fetch resource.

Is this a Retool bug or am I missing something?
Is there a way to enable more logging for this kind of error?
I assume the file gets uploaded to Retool servers and then uploaded to S3 from the back-end. Since the error is a JS NetworkError I think the Retool servers cannot even be reached.

Other info:
I do have a stable internet connection (500Mbps up and down)

Screenshots:
The retool query:

It was blocked by CORS, would have been nice to get some additional error logging inside Retools 'debugger'