Skip to content

[BUG] Can't use scrape formats option #17

@imajus

Description

@imajus

Bug Details

What operation were you trying to use?

  • Search
  • Map URLs
  • Scrape URL
  • Crawl Website
  • Get Crawl Status
  • Extract Data
  • Get Extract Status
  • Something else

What happened?

I can't use Schema Options -> Format option. Even if I add only "Markdown" option it results in 400 HTTP error (Bad Request).

What did you expect to happen?

It must support one or multiple format options.

Error Message (if any)

{ "success": false, "code": "BAD_REQUEST", "error": "Bad Request", "details": [ { "code": "invalid_type", "expected": "array", "received": "object", "path": [ "scrapeOptions", "formats" ], "message": "Expected array, received object" }, { "code": "unrecognized_keys", "keys": [ "formats" ], "path": [], "message": "Unrecognized key in body -- please review the v2 API documentation for request body changes" } ] }

Environment

n8n Version

1.115.1, self-hosted

Node Version

v1.0.5

Configuration Used

{
  "nodes": [
    {
      "parameters": {
        "operation": "crawl",
        "url": "https://example.com",
        "limit": 2,
        "crawlOptions": {},
        "scrapeOptions": {
          "options": {
            "formats": {
              "format": [
                {}
              ]
            },
            "headers": {}
          }
        },
        "requestOptions": {}
      },
      "type": "@mendable/n8n-nodes-firecrawl.firecrawl",
      "typeVersion": 1,
      "position": [
        0,
        -64
      ],
      "id": "15fccb8f-7e6a-409a-8b97-5511193769f5",
      "name": "Crawl showcase projects",
      "credentials": {}
    }
  ],
  "connections": {},
  "pinData": {},
  "meta": {}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions