I am using Retool’s built-in integration to upload files to Google Cloud Storage. I have followed the advice on setting the CORS setting (we host internally so we have set the domain to our retool domain).
However, intermittently, we receive the error “Query Error (upload_docs_gcs): Failed to upload. This might be due to a CORS issue on the bucket, so please double check that your CORS settings are correct.”
After I receive that error I reset the CORS settings using gsutil and it appears to resolve it though.
I have attached a screenshot of the configuration.