How to process a PDF to the Writer API?

How to process a PDF to the Writer API?

Hello :)

Does anyone have experience in processing an invoked PDF to the Zoho Writer API?

In Deluge I requested a PDF estimate from Zoho Books

  1. downloadedEstimate = invokeurl
  2. [
  3. url :"https://books.zoho.eu/api/v3/estimates/pdf?organization_id={ORG-ID}&estimate_ids={ESTIMATE-ID}"
  4. type :GET
  5. connection:"flow_subscription_books_connection"
  6. ];
  7. downloadedEstimate.setFileType("pdf");
This works fine.

After this I want to inject the PDF to the Combine PDFs job from the Zoho Writer API:
  1. pdf = downloadedEstimate;
  2. combinePDFs= invokeurl
  3. [
  4. url :"https://zohoapis.eu/writer/api/v1/documents/pdf/combine"
  5. type :POST
  6. parameters:pdf
  7. headers:authenticationHeader
  8. ];

Zoho Writer API returns the response
  1. "error": {
  2. "message": "There was a problem combining the pdfs. Please try again in a while.",
  3. "response_generated_time": 1666262495187,
  4. "documentation_url": "https://www.zoho.eu/writer/help/api/v1/combine-pdfs-possible-errors.html",
  5. "request_url": "https://zohoapis.eu/writer/api/v1/documents/pdf/combine",
  6. "errorcode": "R7500"
  7. }