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
Hi @Levinsam_com ,
welcome to the Atlassian community!
Please could you check if there are some edit restrictions on that page in confluence?
Fabio
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if it worked until some days ago it is not a limit of your plan. Please could you try to renew your token?
Fabio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Fabio Racobaldo _Herzum_ now I'm not able to even get a list of docs from Confluence. Jira API still works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, I can get the docs now. Still, no editing or commenting is allowed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.