Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
Update content with file attachments using Rest API - /km/api/v1/content/{id} — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Update content with file attachments using Rest API - /km/api/v1/content/{id}

Received Response
edited Jun 8, 2022 8:36AM in Agent Desktop 2 comments


OK-FMS0009 - Cannot get file: [fileName = {fileName}]


Hello All,

When we have tried to upload attachment using update content Rest API we have received OK-FMS0009 error message, can you please guide us in resolving this issue?

Error Message:

Cannot get file: [fileName = FileMetaDataBO [dateAdded=null, dateModified=null, repositoryReferenceKey=null, fileName=null, checksum=null, fileSize=null, binary=null, fileMetaDataDeleted=false, documentId=12345, attachmentDocID=null, fileUrl=null, title=null, fileContentType=null, description=null, createdBy=null]]
REST API: http://<IM_REST_API_HOST>/km/api/latest/content/{id}

JSON - Request Body

   "isForEdit": true,
   "categories": [],
   "recordId": "AF4ADCFFB2914F539711548AF595B211",
   "versionId": "B32A0D804B2449408ABC57292E5C153C",

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!