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!
Go “behind the screen” to meet some of the Confluence Cloud team. In this video series, we tackle some of the hard-hitting questions you never knew you wanted the answer to! Meet some of the ...
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