Forums

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

Add attachment using file content

inoubli nader
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!
October 16, 2025

Hi,

I'm trying to add a file via API to an issue. I'm using Microsoft Flow to make my calls and there is no dedicated 'file' value like there is in Postman so everything has to be put into the headers and body. Also the file that I'm uploading does not exist online rather I need to create the file with the file content.

For example here is a call I have tried from Postman:

2019-03-28_1643.png

 

This results in the following 500 server error:

<message>org.apache.commons.fileupload.FileUploadException: Stream ended unexpectedly</message>

 

This is how the same call looks in MS Flow:

2019-03-28_1649.png

 

Please advise

Thanks,

0 answers

Suggest an answer

Log in or Sign up to answer