Solved

401: Unauthorized when downloading card attachments

  • 8 August 2022
  • 1 reply
  • 46 views

Hello,

I really need to download a lot of cards attachments to create an offline backup.

I have tried creating a report of the cards and using it with wget to download the files. But after downloading a couple of files (something between 4-7) i get an 401 error.

So i tried using GraphQL API to get the attachments links but i get the same error after downloading some files.

Is there a way to mass download the cards attachments? Or download everything that i have in a Pipe?

Thanks!!
 

 

icon

Best answer by Karine Cristina 10 August 2022, 15:22

View original

1 reply

Userlevel 3

Hello, how are you?😊

The 401 error is a permission/authentication problem. It may be that the link has expired, or has two attachments in the same field.
Remember that when the link is removed by API, it lasts 15 minutes =)You can download attachments by API, or by using pipefy reports, but they will come in link format, and the download is one by one.

Reply