Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-73602

The request to create a full-width page through the API randomly returns a 500

XMLWordPrintable

      Issue Summary

      The request to create a full-width page through the API randomly returns a 500

      When creating pages through the REST API, setting the full-width property will randomly cause a 500 status response, even though the page gets created.

      Steps to Reproduce

      1. Try to create multiple pages(100+) through the API, including the property to set the page as full-width:
        "metadata": {
            "properties": {
                "editor": {
                    "value": "v2"
                },
                "content-appearance-draft": {
                    "value": "full-width"
                },
                "content-appearance-published": {
                    "value": "full-width"
                }
            }
        }
        

      Expected Results

      The request should return a 200 every time

      Actual Results

      Sometimes (around 30% of the time) the request returns a 500 with the following response:

      org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only
      

      Workaround

      Create the page without the full-width property set.

              rtalusan Ryan Talusan
              d85dd54c1997 Rodrigo C
              Votes:
              3 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: