Discrepancy between UI and REST API

Robert Egan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 30, 2022

I have a situation where a user receives a permission error when trying to access an attachment via the REST API

/rest/api/content/259001565/child/attachment?filename=CCMS_CI.csv

Yet they CAN access the same attachment through the Confluence UI

/download/attachments/259001565/CCMS_CI.csv

Any ideas as to why this might be the case?

1 answer

0 votes
aorlov September 2, 2022

@Robert Egan 

Did your user provide a personal access token for this request?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.15.2
TAGS
AUG Leaders

Atlassian Community Events