Unable to download attachment due to permission error

Hooman
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 19, 2024

So today I tried making an application where I provide a board and list ID. Then, it will get the first card in that list and then get the first attachment, then download it locally. So anyway, it worked all up until the point of downloading the attachment. It said 401 unauthorized. I made it print the url to the attachment, and I could access it fine in my browser (probably because I was logged in.) So my question is, how would I download the attachment, I can provide the token and api key. Or, do I need to grant some certain permissions to my app, here the current permissions are (from my user settings a.k.a https://trello.com/u/(me)/account):

read and write access on all your boards

read and write access on all your Workspaces

Approved: today at 4:44 PM
Never expires

 

So what do I have to do?

1 answer

1 accepted

0 votes
Answer accepted
Alex W
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 20, 2024

Hi @Anth Godz - welcome to the Community!

I would recommend raising this in the Developer Community instead. You can join this Community at https://community.developer.atlassian.com/c/trello/42

Hooman
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 21, 2024

Oh, sorry

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events