cancel
Showing results for 
Search instead for 
Did you mean: 

Rest PUT - Error when using upload files field

Trakmaker
New Contributor

Hi everyone,

I am able to upload incoming data into blob storage with the below pipeline but not the format I am expecting.

image

I need to do it this way: Get Data ->CSV Formatter->File Writer-> Upload to SLDB → Rest PUT (use the file as an expression in Upload files).

But I am facing the below error doing so. Any Suggestions?

image

image

10 REPLIES 10

j_angelevski
Contributor III

Hi @Trakmaker,
Can you share which headers are you passing in the REST Put snap ?

Trakmaker
New Contributor

Yes

image

Try to add Transfer-Encoding header as well ( Transfer-Encoding ).

I would say lets refer to the REST PUT API doc for this endpoint and try to set Transfer-Encoding header accordingly.

Hi @smudassir , It is working when we don’t use a file upload and input stream gets through REST PUT and only the last document is there in the file, but we want the complete data in the file, hence we are trying to load it to a file and upload it back through REST PUT

image

I’m still getting the below error :

image

Reason : Transfer-encoding header already present