update record using ServiceAPI get 500 error

I was trying to update record using ServiceAPI /Record get 500 error in the DemoDB

- first I upload a file to server using /UploadFile service, it works fine,

- then I when I try to update a record using /Record service with some JSON like this

{
    "Uri":5762,
    "RecordTitle": {
        "Value": "My Title"
    },
    "RecordFilePath": "c:\junk\my file.docx"
}

Then I get a 500 server error.

Furthermore, if I run the same functions with my own test dataset, all works fine.

Can someone shed some lights, appreciate it.

Tags:

Parents Reply Children
  • 0 in reply to   

    Thanks for your response,  the CM version is 23.4 , the JSON is just a sample,  the RecordFilePath is point to my server path, the actual JSON:

    {"makeNewRevision":true,"RecordFilePath":{"Value":"ForUser\\45\\1660\\G07_14_TRIM User Forum 2007 - New Zealand.PPT"},"RecordRecordType":{"Uri":2},"properties":["RecordTitle","RecordNumber"],"Uri":347}

    as I test the same function with another test dataset I created myself, it works fine, is it possible the permission or configuration issue?