Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Creating multiple attachments asynchronously returns HTTP error 500

Kerwood
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 11, 2025

I have created an application for updating my Confluence page with content using the API.

I can upload multiple attachments synchronously using this endpoint Create or update attachment, but if upload 2 or 3 at the same time asynchronously I get a HTTP 500 error back.

 I can't find any restrictions on that API endpoint, nevertheless, an API restriction should not return an error 500 backhttp500.png

2 answers

0 votes
Stavros_Rougas_EasyApps
Atlassian Partner
March 17, 2025

@Kerwood his doesn't solve your problem but it might help you troubleshoot.

Attachment Manager by Easy Apps has a page tree. Choose one or many pages and then filter by 'not visible' or search the attachment. Make sure for some odd reason it is not associated with a page.

Confluence is a bit odd in that it never deletes an attachment as has version history unless explicitly delete it (use case for our app). Creates as a result complexity, can't see an attachment but it's saved is a big one.

 

0 votes
Kerwood
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 3, 2025

Even uploading three attachments synchronously returns a 500 some times.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events