Error adding file

Hello everyone, I am having the following problem: When I add the file it gives an exception of PropertyNotFoundException, I understand that something is missing, but I do not know who …

**Error in the second line

Blob fileBlob = new Blob(file);
fileBlob = nuxeoClient.automation().newRequest("Blob.AttachOnDocument").param("document",   docCriado).input(fileBlob).execute();

error:

Exception:
  status: 500
  code: org.nuxeo.ecm.core.api.model.PropertyNotFoundException
  type: Error
  exception: Failed to invoke operation: Blob.AttachOnDocument

thanks

0 votes

0 answers

720 views

ANSWER

Hello, Please add more information when you post something here. The related server stacktrace is always welcomed, you should also provide contextual information, like the types of objects you want to update (here: document type, schemas, facets). Thanks
04/04/2017

ok
04/04/2017