Getting error : {"message":"Current user not permitted to use Confluence","statusCode":403}

Hi All ,

I am trying to upload attachments to a confluence page using Python .
I am able to access the page and get the page title etc…

But when I try to upload an attachment I am getting the below error…

{“message”:“Current user not permitted to use Confluence”,“statusCode”:403}

Any help is greatly appreciated ,
Thank you,

Hi All ,

Please ignore the above post .
I forgot to put the header in the post request .
It is now solved.