Forum Discussion

fathima_mohamed's avatar
fathima_mohamed
New Contributor
3 years ago

Why does Azure Blob Storage return 201, but not upload?

I was so excited I got a 201 status code from Snaplogic PUT snap that I jumped to the Azure Portal. Unfortunately my file was not there. The same request is uploading file successfully to Azure from PostMan
Here is the details i’m using to upload a file
Blob Url: https://symphnytstcjgrk509.blob.core.windows.net/dmf/GHD%20Forecast%20Interface%20BY.xml?sv=2014-02-14&sr=b&sig=XXXst=2022-11-30T12%3A59%3A44Z&se=2022-11-30T13%3A34%3A44Z&sp=rw
Content-Type : application/zip
Upload transfer request type: Calculate content length
x-ms-blob-type: BlockBlob
Accept: /

  • The “original” object is a passthrough in the snap itself, not what is passed as the body in the REST call.

    For example, I sent the following (note that HTTP Entity is empty:

    You can see in the response that “data” is empty, but there is the original object with the data I passed to the snap:

    • rmedeiros's avatar
      rmedeiros
      New Contributor III

      That makes sense… Thanks a lot for your answer!