-
Type:
Bug
-
Resolution: Done
-
Priority:
High
-
Component/s: Page - Attachments (Image, Video, etc.), Page - Content APIs
-
3
-
Severity 3 - Minor
-
4
Summary
A failure will occur when trying to update attachment data to Confluence Cloud via REST API.
The REST call fails if two consecutive POST requests are made to:
/rest/api/content/{contentID}/child/attachment/{attachmentID}/data
Steps to Reproduce
- Upload two large files (500MB files) to Confluence (file1.bin and file2.bin)
- Simultaneously call /rest/api/content/{contentID}/child/attachment/{attachmentID}/data to update files file1.bin and file2.bin.
Expected Results
Both attachments are successfully updated
Actual Results
One of the attachments will fail to update returning a 500 HTTP status code
Workaround
Wait for response code 200 HTTP Response code before attempting to update another attachment
- duplicates
-
CONFCLOUD-78329 Attaching a file via PUT /wiki/rest/api/content/{id}/child/attachment fails with org.springframework.transaction.UnexpectedRollbackException error
-
- Closed
-