Gumloop download_file API error

ERROR 500 - internal server error on file download:

i am trying to download a file that was saved during the run using the api as shown in the documentation:

i am using my api key for authorization in the header and i got the parameters in the payload for the post request:
payload = {
“file_name”: file_name,
“run_id”: run_id,
“saved_item_id”: saved_item_id,
“user_id”: user_id,
}
headers = {
“Authorization”: f"Bearer {API_KEY}",
“Content-Type”: “application/json”
}
response = requests.request(“POST”, url, json=payload, headers=headers)

it says project_id is optional.
what am i doing wrong?

Hey @Eyal_Bens! If you’re reporting an issue with a flow or an error in a run, please include the run link and make sure it’s shareable so we can take a look.

  1. Find your run link on the history page. Format: https://www.gumloop.com/pipeline?run_id={{your_run_id}}&workbook_id={{workbook_id}}

  2. Make it shareable by clicking “Share” → ‘Anyone with the link can view’ in the top-left corner of the flow screen.
    GIF guide

  3. Provide details about the issue—more context helps us troubleshoot faster.

You can find your run history here: https://www.gumloop.com/history

Hey @Eyal_Bens – Can you share your workflow link as well please?

We changed it a bit to work around: https://www.gumloop.com/pipeline?workbook_id=9nrnYhYgRgSo8CcgQSy6YV

But if you can guide us how to perform it we will return to this behvaior.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.