Essentially I have a a little script that should update an existing confluence page with cypress test results. However, everytime I run it I see:
Error updating Confluence page:
message: 'Current user not permitted to use Confluence',
statusCode: 403
I made the token at https://id.atlassian.com/manage-profile/security/api-tokens and copied it over exactly. I do have permissions to use and edit this page (I created it and can do any of those actions through the UI).
The token shows as 'Never Accessed' even though i've attempted this multiple times. I have followed the examples here:
https://developer.atlassian.com/cloud/confluence/rest-api-examples/
So formatting/structure should be correct. Does anyone have any other ideas or tips on how I can solve this issue?
Hi Kevin,
Welcome to Atlassian community!
I don't have much experience with the REST API for Confluence Cloud, but the 403 error says there is a problem logging in. I would probably try some simple thing first, e.g. in Postman, for example, to get information about a page. It is necessary to check that there is no problem with access via the token. You can look at Basic auth for REST APIs
Pavel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.