cancel
Showing results for 
Search instead for 
Did you mean: 

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

freemann_
Star Contributor
Star Contributor

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/...? I try do convert docx Blob but nothing has been converted ?

How can I force the file convertion ?

Thanks

2 REPLIES 2

ataillefer_
Star Contributor
Star Contributor

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

freemann_
Star Contributor
Star Contributor

Hi,

Solved the issue by an automation chain in sutdio.

Thanks