I am using confluence API (using python)to update an existing confluence page but I am facing the below error -
atlassian.errors.ApiValueError: No space or no content type, or setup a wrong version type set to content, or status param is not draft and status content is current
Strange thing is I was able to update the page before may be 10 times but its suddenly throwing an error . may be i am missing something?
Can anyone please suggest what is missing . I am using below snippet -
confluence = Confluence(url=confluence_url,username=userid,password=password)
status = confluence.update_page(page_id, title, pagecontent)
pprint(status)
This post may be able to help you: Link: https://community.atlassian.com/t5/Confluence-questions/How-to-use-RESTfull-PUT-to-update-a-page/qaq-p/1215583
It has to do with the content version #.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.