-
Notifications
You must be signed in to change notification settings - Fork 278
Description
My JSON request is:
{ "options": { "from_formats": [ "docx", "pptx", "html", "image", "pdf", "asciidoc", "md", "xlsx" ], "to_formats": [ "md", "json", "html", "text", "doctags" ], "image_export_mode": "placeholder", "do_ocr": true, "force_ocr": false, "ocr_engine": "easyocr", "ocr_lang": [ "fr", "de", "es", "en" ], "pdf_backend": "dlparse_v2", "table_mode": "fast", "abort_on_error": false, "do_table_structure": true, "include_images": true, "images_scale": 2 }, "http_sources": [ { "url": "https://arxiv.org/pdf/2206.01062" } ] }
This is taken directly from the Docs.
When I try to execute the n8n node, it fails with "field required" - but I cannot see what 'field' it is missing.
This is what the n8n node looks like:
The error info from n8n is:
422 - "{"detail":[{"type":"missing","loc":["body","sources"],"msg":"Field required","input":{"options":{"from_formats":["docx","pptx","html","image","pdf","asciidoc","md","xlsx"],"to_formats":["md","json","html","text","doctags"],"image_export_mode":"placeholder","do_ocr":true,"force_ocr":false,"ocr_engine":"easyocr","ocr_lang":["fr","de","es","en"],"pdf_backend":"dlparse_v2","table_mode":"fast","abort_on_error":false,"do_table_structure":true,"include_images":true,"images_scale":2},"http_sources":[{"url":"https://arxiv.org/pdf/2206.01062"}]}}]}"
It would be a huge help if someone could tell me what I'm missing.
Many thinks