unable to access the API

Deleted user August 14, 2020

Hello, 

 

I am trying the python library for Confluence API but getting the error

 

raise ApiPermissionError(
atlassian.errors.ApiPermissionError: The calling user does not have permission to view the content

 

does anyone know what sort of rights are needed or from where can i check the rights?

 

 

 


confluence = Confluence( 

   url='https://devconfluence.cyberport.de/display/BI/Business+Intelligence',    

username='kt****',    

password='*****'    )
print(confluence)

 

<atlassian.confluence.Confluence object at 0x029491C0>

 

also does the above output mean that my connection with Confluence was successful?

how can i check my rights

1 answer

0 votes
Joshua Sneed Contegix
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 14, 2020

Hi Kiran,

A user's permissions in the API align with their permissions in the UI. Verify that user has appropriate permissions for the action you are attempting. Cheers!

Deleted user August 16, 2020

how do i check that?

 

also, if i run the part of the url till 

url='https://devconfluence.cyberport.de/',

 

i get the response for status= confluence.get_all_spaces()

but not for the space that i'm looking for when i use the url 

url='https://devconfluence.cyberport.de/display/BI/',

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events