Skip to content

confluence remove_content_history(page_id, version_number) method fails from version 3.26.0 #1048

@manoharm28

Description

@manoharm28

The method remove_content_history(page_id, version_number) was working fine until the release version 3.25.0.
From the version 3.26.0 and newer we are getting below error:

File "/usr/local/lib/python3.10/site-packages/atlassian/confluence.py", line 1371, in remove_content_history
self.delete(url)
File "/usr/local/lib/python3.10/site-packages/atlassian/rest_client.py", line 371, in delete
response = self.request(
File "/usr/local/lib/python3.10/site-packages/atlassian/rest_client.py", line 242, in request
self.raise_for_status(response)
File "/usr/local/lib/python3.10/site-packages/atlassian/confluence.py", line 2780, in raise_for_status
raise HTTPError(error_msg, response=response)
requests.exceptions.HTTPError: null for uri: https://confluence.***.com/rest/api/content/*********/version/1

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugconfluenceAtlassian Confluence (Cloud, Server or Dataceneter)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions