Unable to upload filezone image to Google Cloud Storage


I've been trying for nearly 2 days straight to upload a file to google cloud storage. Unfortunately, the docs aren't too helpful. I can't figure out what the correct format is to upload files to GCS.

The file upload portion is working (see the second image), but the data appears to be corrupted or incorrectly parsed. All the photos come out blank. The file sizes are roughly correct, however.

Has anyone gotten this to work recently?

Connect to Google Cloud Storage

Correction. I added an intermediary query to first run atob on the encoded base64data from the image. Then I pass that to cloud storage. Still failing.