I am using the REST API to create pages during our CI deployment.
Randomly the deletion of some pages fails with this response:
message: 'org.springframework.transaction.UnexpectedRollbackException: ' +
'Transaction rolled back because it has been marked as ' +
As the error seems to be an internal exception in your product I can't find the reason why it's failing randomly.
I found this KB article that may assist you in identifiying the root cause: https://confluence.atlassian.com/confkb/org-springframework-transaction-unexpectedrollbackexception-when-viewing-or-creating-a-page-182157705.html
I don't see this as any assist. The article states "To identify the specific root cause of an occurrence of this error, you'll need to consult the atlassian-confluence.log". We don't have access to that log file other than posting a ticket. In my case, I found that the page was in fact deleted and the error seemed to be a false negative.
Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events