The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to download attachment with oauth token

Paul Woods
March 18, 2020

I'm trying to download the content of attachments on Confluence Cloud using the download link ( fetched from an earlier call to get the attachment infomation )

https://api.atlassian.com/ex/confluence/xx/wiki/download/attachments/94..45/filename.txt?version=1&modificationDate=1584525504744&cacheVersion=1&api=v2

The result is a 401 "Token is missing required scopes: confluence:atlassian-external"

I'm using OAuth tokens here - any idea how to get this working? All the examples I can find are using basic auth, is this the only supported mechanism?

 

thanks

Paul Woods

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events