Hi there,
I can successfully use an OAuth2 access token to grab everything I need from Confluence's api except the page attachments I'm trying to download. I'm using the download url I get back from the "_links" key in the page content response, along with the same base url I'm using for all my other calls, but I can only get back a 401 Unauthorized for these. I have the "read:attachment:confluence" scope coming back correctly on my token.
Sample download url: `"https:/{MY_INSTANCE}.atlassian.net/wiki/download/attachments/{ATTACHMENT_ID}/my_doc.docx?version=1&modificationDate=1647900502426&cacheVersion=1&api=v2"`
I've tried removing all the query params after the document name, which I've seen suggested here, but that didn't help.
Can anyone help identify what I'm doing wrong?
Thanks,
April