It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

unable to access the API

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

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!

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
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

4,117 views 4 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you