Skip to content

firecrawl_scrape : Status code: 400 : When 'extract' or 'json' format is specified.... #59

Open
@bdb123

Description

@bdb123

Hi, getting this error :

Failed to scrape URL. Status code: 400. Error: Bad Request - [{"code":"custom","message":"When 'extract' or 'json' format is specified, corresponding options must be provided, and vice versa","path":[]}]

I'm using MCP Inspector to run and connect to the local firecrawl mcp server. This error only seems to happen for scrape. Map and crawl are working OK.

I'm asking for markdown only so not asking for json or extract. I've tried playing around with other parameters and checking against the settings in a successful playground execution but not getting anywhere. So either I'm missing something or its a wee bug... help would be much appreciated as this is such a useful tool and I really want to evaluate and get it into an agent!

Request to server:
{
"method": "tools/call",
"params": {
"name": "firecrawl_scrape",
"arguments": {
"url": "bbc.co.uk",
"formats": [
"markdown"
],
"includeTags": [],
"excludeTags": [],
"actions": [],
"extract": {},
"location": {}
},
"_meta": {
"progressToken": 6
}
}
}

Response:
{
"content": [
{
"type": "text",
"text": "Failed to scrape URL. Status code: 400. Error: Bad Request - [{"code":"custom","message":"When 'extract' or 'json' format is specified, corresponding options must be provided, and vice versa","path":[]}]"
}
],
"isError": true
}

Thanks!!

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