[Python] python : atlassian.errors.ApiValueError: No space or no content type, or setup a...

Discussão em 'Python' iniciado por Stack, Dezembro 9, 2024.

  1. Stack

    Stack Membro Participativo

    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. maybe 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)

    Continue reading...

Compartilhe esta Página