using multipart/form-data to post document to iManage

Hello,

I am trying to set up an integration to post a document to a folder in iManage. This integration requires the request body to be multipart/form-data, and to pass through the document to be uploaded and the document "profile" which contains information which will be added to the document on the iManage side.

below is how the integration is set up in postman:



And this is how I have set up my integration (second screenshot showing the expression I have built for the profile part):

and this is the error I am getting: 


Would anyone have an idea of where I am doing things incorrectly? It would seem to me as though the content type is not passed through properly, as seen by the content type field in the header section of the httpResponse.

Thank you

  Discussion posts and replies are publicly visible