Forums

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

The calling user does not have permission to view the content

Levinsam_com November 8, 2022

Hi,

 

I'm an admin user using my email and a token to connect to Confluence. Everything did work up until two days ago and without any code changes, I started to get an error saying:

The calling user does not have permission to view the content.

Any thoughts on what might be the cause of this error?

 

- I can read the document I'm trying to update (on the UI) and even I get it through API calls.

- Python - https://atlassian-python-api.readthedocs.io/jira.html

 

Best,

Sam

1 answer

1 vote
Fabio Racobaldo _Herzum_
Community Champion
November 9, 2022

Hi @Levinsam_com ,

welcome to the Atlassian community!

Please could you check if there are some edit restrictions on that page in confluence?

Fabio

Levinsam_com November 9, 2022

Hi @Fabio Racobaldo _Herzum_, No, there is no restriction. "... who's logged in can view and edit this page."

Also, I can edit the page or write a comment from UI, however, it's not allowed from API calls. And this is for all pages.

I have a free plan. Are there any restrictions on how many calls I can make?

Fabio Racobaldo _Herzum_
Community Champion
November 9, 2022

if it worked until some days ago it is not a limit of your plan. Please could you try to renew your token?

Fabio

Levinsam_com November 9, 2022

Sure, I did change it and it's still the same. The same token works for Jira API but, not for Confluence. I can neither update a document, nor I can write a comment. However, I can get a list of documents.

Levinsam_com November 9, 2022

@Fabio Racobaldo _Herzum_ now I'm not able to even get a list of docs from Confluence. Jira API still works.

Fabio Racobaldo _Herzum_
Community Champion
November 9, 2022

it's a strange situation. 

Levinsam_com November 9, 2022

Sorry, I can get the docs now. Still, no editing or commenting is allowed.

Deepak Kumar
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!
January 23, 2024

Hi @Levinsam_com @Fabio Racobaldo _Herzum_ , I am also facing same, Issue 


Retrying atlassian.confluence.Confluence.get_all_pages_from_space in 2.0 seconds as it raised ApiPermissionError: The calling user does not have permission to view the content.
How can I resolve this as I am using it through python.

Like # people like this

Suggest an answer

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

Atlassian Community Events