500 Internal Server Error - Blob.RemoveFromDocument

Api call to http://localhost:5000/nuxeo/api/v1/automation/Blob.RemoveFromDocument

Payload:{
    "params": {
        "xpath": "monschema:mesdonnees/2/fichier"
    },
    "context": {},
}

Response :

{
    "entity-type": "exception",
    "status": 500,
    "message": "Failed to invoke operation: Blob.RemoveFromDocument, Failed to invoke operation Blob.RemoveFromDocument with aliases [Blob.Remove], segment 2 cannot be resolved, monschema:mesdonnees/2/fichier"
}

Operation:

<nuxeo-operation
id="operation"
op="Blob.RemoveFromDocument"
input="[[document.uid]]"
params="[[_params(xpath)]]"
>
</nuxeo-operation>
0 votes

0 answers

88 views

ANSWER