Pipefy API Error and HTTP Get a file

Hello

I want to get a weekly report from Pipefy and replace a existing file on Google Drive. The trouble i’m having it’s that when i try to download the file from Pipefy it gives me a error.

Trying to explain what im trying to do now.

1 – I need to know the Pipefy report ID so i ask it to the Pipefy API;
2 – Now i know the report ID i ask Pipefy to give a URL to download the report;
3 – This step that’s giving me the error, i’m using HTTP Get a file with the previously URL that i got. When i use the URL in the browser the file downloads perfectly but using the HTTP module it gives me a error like the screenshot below.

The complete text says:

<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>orgs/1cd3302a-bdda-486f-8fca-2d1b95a157ef/reports/b5bab803-fe09-4356-999b-76bf7f1f6bde/entregas_dos_parceiros___farol_15-12-2022.xlsx</Key><RequestId>007P1DRY1DDFWYG3</RequestId><HostId>pI/f5VFrSHyGacJgjegwwHlhCxvRLFetBO5bqKW9rpqQpUofatFF1N7EkLUAqlwVxU0FFZMult0=</HostId></Error>

I want to know what i need to do to download the file if everything seems corret until now. I already gave the acess to the API, i got important IDs and it gave me the link that only works in the browser, not in the HTTP Module.

Thanks for the help.

1 Like

Hi. Are you sure you dont need do a authetication to get the file from the http module? Maybe you are connected in browser.

If you need additional support, please don’t hesitate to reach out.

Cheers
//HFBR

1 Like

I’ve already tested in anonymous mode and others browsers that i’m not connected in Pipefy, which means i have no authorization, and the URL works perfectly to download the file.

Well, I really dont know why. If can send me the link, I can try use it here

If you need additional support, please don’t hesitate to reach out.

Cheers
//HFBR

1 Like

A little update, but i solved the problem by adding a new HTTP Module

And in the Make API Key Auth request i used only 1 header, Authorization, inserting my Pipefy API Key.

Now i am able to get my Pipefy report in a XLSX format.

1 Like

Hello there @Frederico_Machado and welcome to the community :wave:

Awesome that you managed to work it out and thanks so much for stepping back into the community and sharing the solution with us! We really appreciate is :pray:

1 Like