Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Unable to upload a file into a confluence page using Python API

Renganathan Mutthiah September 9, 2020

Hi,

I am using atlasian-python-api for confluence product.

After creating a confluence connection object, I am using attach_file() method to upload a file into a confluence page. But I am getting 403 forbidden error (which means the user id which I used in creating the confluence connection object, does not have access to upload the file into that page). 

But I am able to attach files in that page manually using the same user-id.

NOTE: The page where I try to upload file, is a normal blank confluence page. It is NOT a 'File List' page. When I manually upload file, I go to the properties (by licking there dots at top right) then clicking attachment option.

 

Can someone please help why I am getting the error when using Python API.

Thanks in advance!

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events