Hello UiPath Expert,
I’m new to UiPath. I would like to upload a file to Documentum using REST. I’ve successfully tried this by using Postman as following screenshot.
Post Header on Postman
Content-Type: multipart/form-data
I would like to do this by using UiPath with activities HTTP Request but I’m facing an Error returned by Documentum.
status code: 400
result:
“{“status”:400,“code”:“E_INPUT_MESSAGE_NOT_READABLE”,“message”:“The input message is not readable.”,“details”:“the request was rejected because no multipart boundary was found; nested exception is org.apache.commons.fileupload.FileUploadException: the request was rejected because no multipart boundary was found”,“id”:“8355b762-96be-4811-977d-61ccccf9393c”}”
Here are my configurations:
AcceptFormat
ANY
EndPoint
“http://host/dctm-rest/repositories/REPO/folders/0b0000018007efef/documents?format=pdf”
Method
POST
Attachments
Name => content
Value => “path\to\test.pdf”
Body
“properties={”“properties”“:{”“r_object_type”“: ““ct_rpa_doc””, ““object_name””: ““test.pdf””}}”
Headers
Name => Content-Type
Value => “multipart/form-data”
Parameters
Leave blank
Am I missing some configuration?
Any help will be appreciated…
Regards,
Anggi Haryo S