Workflow REST API Call does not return response headers

Hi,

I am looking to upload a file from my retool workflow directly to Google Drive. Connecting to Google Drive and saving files works generally fine. As the file I am looking to update is however bigger I need to use the resumable upload type.

The first required request to https://www.googleapis.com/upload/drive/v3/files?uploadType=resumable should in the response header return a location with an url which then is used for the actual upload. The exact process is also described here: https://developers.google.com/drive/api/guides/manage-uploads#resumable

The issue I am facing is that within the workflow the response headers are not visible. Checking the same in the query library and in a retool app I can see the response header without any problems.

Is there any workaround available to access the response headers in workflows?

Hi @Max58927, we should be able to access the headers with {{queryName.metadata.headers}}. Let us know if that is not the case.