Confluence Rest API CREATE Content at Random Width

Endpoint:

/wiki/rest/api/content

Using the REST API to create a confluence page will randomly publish a page with a width of:

narrow aka fixed-width aka default

or wide aka full-width


This bug is driving me nuts! Anybody with a consistent workaround - I will owe you one.

1 Like

I am seeing the same thing.

I found [CONFCLOUD-65654] Choose Between Editor View Style - Create and track feature requests for Atlassian products., which suggests that you might be able to set “content-appearance-draft” and “content-appearance-published” metadata properties to “default” in order to maintain consistent widths. But it seems introducing that causes intermittent 500 responses from the server:

{“statusCode”:500,“message”:“org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only”}