Nuxeo REST API - @convert?format=pdf - status 304 Not Modified [SOLVED]

Hi,

I want to convert non PDF doc to PDF with `doc.convert({ format: 'pdf' })` but I get 3304 Not Modified response for https://server/nuxeo/api/v1/repo/default/id/2c19d2f0-212e-4f84-9c56-f61c497e9ff9/@blob/blobholder:0/@convert?format=pdf? I try do convert docx Blob but nothing has been converted ?

How can I force the file convertion ?

Thanks

0 votes

2 answers

569 views

ANSWER



Hi,

Solved the issue by an automation chain in sutdio.

Thanks

0 votes



Hi, I cannot reproduce on LTS 2017, I get a 200 status code and the converted PDF. Can you be more precise about the Nuxeo version, and give a full excerpt of your client code (JavaScript I assume)?

Thanks

0 votes