Topic by Sanjay Mehta
Content
Hi,
I am trying to upload an attachment on an existing incident using the sample code given on REST API http://docs.oracle.com/cloud/latest/servicecs_gs/CXSVC/c_Managing_file_attachments_aa1166814.html#aa1167719
Method: Post
URL: https://XXXXXXX.custhelp.com/services/rest/connect/v1.3/incidents/52371868/fileAttachments
Body: {
"fileName":" SampleFileAttachment.txt ",
"data":" c2FtcGxlIGNvbnRlbnQgZm9yIGZpbGUgYXR0YWNobWVudA=="
}
Status: Error
"detail": "Error attempting to create resource: File specified could not be found: /tmp/ c2FtcGxlIGNvbnRlbnQgZm9yIGZpbGUgYXR0YWNobWVudA==",
Can anyone please suggest?