Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Deleting pages through REST API randomly return 500 errors UnexpectedRollbackException

Hi,

 

I am using the REST API to create pages during our CI deployment.

Randomly the deletion of some pages fails with this response:

{

statusCode: 500, message: 'org.springframework.transaction.UnexpectedRollbackException: ' + 'Transaction rolled back because it has been marked as ' + 'rollback-only'

}

 

As the error seems to be an internal exception in your product I can't find the reason why it's failing randomly.

 

Thanks

1 answer

0 votes
Fabian Lim Community Leader Dec 24, 2021

Hi Julien,

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

Good Luck

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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

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 ...

43,082 views 30 134
Read article

Community Events

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

Events near you