-
Notifications
You must be signed in to change notification settings - Fork 704
Description
Hi,
we do updating pages in Confluence by using update_or_create method. This worked fine with atlassian-python-api
version 1.15.6. Since version 1.16.0 the same code breaks by 500 error:
response = self.confluence.update_or_create(parent_id=parentPageId, title=self.page.get('title'), body=body, representation='storage')
File "/usr/local/lib/python3.6/dist-packages/atlassian/confluence.py", line 1197, in update_or_create version_comment=version_comment)
File "/usr/local/lib/python3.6/dist-packages/atlassian/confluence.py", line 1062, in update_page response = self.put('rest/api/content/{0}'.format(page_id), data=data)
File "/usr/local/lib/python3.6/dist-packages/atlassian/rest_client.py", line 207, in put trailing=trailing)
File "/usr/local/lib/python3.6/dist-packages/atlassian/rest_client.py", line 161, in request response.raise_for_status()
File "/usr/local/lib/python3.6/dist-packages/requests/models.py", line 941, in raise_for_status raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: for url: https://******/rest/api/content/112226271
I don't find anything about this issue yet. Can you tell me what has changed? Or is it even a bug?
Greetings
Lars