Skip to content

Problem processing via N8N #338

@gmakstutis

Description

@gmakstutis

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:

Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions