Forum Discussion

Trakmaker's avatar
Trakmaker
New Contributor
4 years ago

Rest PUT - Error when using upload files field

Hi everyone,

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

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?

10 Replies

  • I don’t see a File Writer snap in your pipeline? I see BinaryToDocument and then Rest Put. Correct me if I am wrong.

    • Trakmaker's avatar
      Trakmaker
      New Contributor

      Hi @smudassir , I have not used file writer in the above pipeline but I will upload the file using file writer and read it using the upload files field in the REST PUT.

      • smudassir's avatar
        smudassir
        Employee

        Well, 501 is a server side error. Can you enable the error view on the Rest Put snap, and provide the error view details here?

      • smudassir's avatar
        smudassir
        Employee

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