Upload file Rest API using Logic App

I am currently developing a sample project in Azure Logic Apps using the Aras Restful APIs.

However while trying to Execute the vault.UploadFile API I am facing the 500 error message:

The Rest API  Call Details are as follows :

    "headers": {
        "Content-Range""bytes 0-4/5",
For now I am trying to upload a simple text file as seen above. I have verified the url as well as run the same in Postman , ARC and fiddler - and I am able to get it working in all the cases except for via Logic Apps .
Please let me know if anyone knows what I am missing here . Thanks
  • Hi beginnerInAras,

    When you are sending your POST request are you including an Authorization (BearerToken) token as well? Anytime you are using REST API it is necessary to first send a POST request to the OAuthserver, then grab that token and pass it as authorization with your actual request. We have a good example of this covered in a couple of blog posts

    Hope this helps!