Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

REST API: "Unable to save changes to unreconciled page" error when updating content

Ronny Schuetz
November 30, 2020

Hi,

we're generating some documentation in Confluence XHTML storage format and uploading it using the REST API, overwriting the previous version. After the upgrade from Confluence 6.x to 7.4.3 the process failed for the largest page (~2.5Mb XHTML code), smaller pages (all less than 1Mb) could still be uploaded.

The reason was most likely  to CONFSERVER-59196, which has been resolved by disabling collaborative editing. As collaborative editing was required by other users, it has been re-enabled later on and the upload process continued to work for some days.

However, a few days later, the upload process fails again for the same page with

{"statusCode":501,"message":"Unable to save changes to unreconciled page ContentId{id=15598903}","reason":"Not Implemented"}

and sometimes

{"statusCode":500,"message":"","reason":"Internal Server Error"}

after ~30s.

The same content can be uploaded to a new page without issues, it is also possible to update this new page with new content without error. As the page has incoming links and child pages, we cannot simply delete the old one and rename the new page.

We haven't tried to disable and re-enable collaborative editing again yet, but even if it solves the issue, we cannot do that every time.

Is there any other workaround for this issue? The uploaded page does not get changed by other users. Is there a way to force overwrite it using the REST API? Or can we somehow tune the server?

Thanks,

Ronny

2 answers

0 votes
Ronny Schuetz
January 14, 2022

Update: We were in contact with Atlassian Support meanwhile. They were able to track it down to another bug (not fixed yet), ticket is https://jira.atlassian.com/browse/CONFSERVER-69310. For the time being it seems to help to

  • overwrite the page with an empty page first, before uploading the updated large page
  • cleanup the history after each update
  • retry on errors
0 votes
Fabian Lim
Community Champion
January 13, 2022
Ronny Schuetz
January 14, 2022

Hi Fabian. Thanks a lot. We were in contact with Atlassian Support meanwhile, but the fix for 7.4 alone didn't help. See my other comment.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events