atlassian-python-api icon indicating copy to clipboard operation
atlassian-python-api copied to clipboard

Export page not working

Open aguckenber-chwy opened this issue 8 months ago • 3 comments

Has anyone tested this recently?

https://github.com/atlassian-api/atlassian-python-api/blob/master/examples/confluence/confluence_export_page.py

    confluence = Confluence(
        url='https://chewyinc.atlassian.net/',
        username='<<user>>',
        password='<<password>>',
        api_version='cloud',
    )
    # ...
    content = confluence.export_page(page_id)

When I run the code, it errors out with an invalid path.

image

If I remove api_version='cloud' then the call works but the PDF returned is invalid/corrupt and can't be opened.

aguckenber-chwy avatar Jun 05 '24 15:06 aguckenber-chwy