cancel
Showing results for 
Search instead for 
Did you mean: 

Nuxeo automation chain downloadFilesZip not working

K_Yerriswamy_Re
Champ in-the-making
Champ in-the-making

Hello Team,

I’m trying to use built in Nuxeo automation chain downloadFilesZip (Chain.downloadFilesZip) using the REST api as described here: https://doc.nuxeo.com/nxdoc/command-endpoint/

Nuxeo Version : Nuxeo 7.10-HF14

I send a POST request to [https://Nuxeoserver/nuxeo/site/api/v1/automation/Chain.downloadFilesZip]

with the following body:

{

"input":"doc:0911b9a5-8cb4-4e24-9bb4-d40a997bf527"

}

And the following headers: Content-Type:application/json+nxrequest Accept:application/json+nxentity

This should return a response with the content of document with UUID 0911b9a5-8cb4-4e24-9bb4-d40a997bf527 archived in a zip. My goal is to ultimately have a list of document id’s passed to the automation chain to get a zip of all of them.

Unfortunately I am getting the following error:

{ "entity-type": "exception", "code": "org.nuxeo.ecm.core.api.DocumentNotFoundException", "status": 404, "message": "Failed to invoke operation: downloadFilesZip" }

Could anyone please help us to achieve the same and let us know any corrections are required .

Any help on the same is apprciated.

Regards, KY Reddy

0 REPLIES 0