Uploading a new version of an attachment breaks the image preview

When uploading an updated version of an attachment to a page either via PUT /wiki/rest/api/content/{id}/child/attachment,
POST /wiki/rest/api/content/{id}/child/attachment/{attachmentId}/data
or copySinglePage
the preview only shows a failed to load icon


When navigating to Advanced Details β†’ Show Source the image is displayed correctly.

When initial uploading the image and inserting an image and attachment via the page content update api the included image will be displayed perfectly. Preview of the image when downloading is also working. So there can’t be anything wrong with the file upload.

Did anyone find a way to work around this issue?

1 Like

The issue is being tracked here: https://jira.atlassian.com/browse/CONFCLOUD-71173?