firecrawl / firecrawl/firecrawl-mcp-server

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

Open
#59 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.5k
Forks
884
Avg merge
1d 11h
Merged PRs (30d)
14

Description

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!!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.