firecrawl / firecrawl/open-lovable

Firecrawl scraping fails even with a valid API key

Open
#97 7 comments 8 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
28.4k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Hello,

I have set up the project locally on my macOS machine. The E2B sandbox is working correctly, but the Firecrawl scraping feature is failing with the error "Failed to clone website: Failed to scrape website".

I have confirmed that this is not a configuration issue on my end. I have:
1. Generated a new, valid API key from firecrawl.dev.
2. Correctly configured it in my `.env.local` file as `FIRECRAWL_API_KEY`.
3. Performed a clean restart of the server (including deleting the `.next` cache folder).

To prove my API key and account are working correctly, I ran a direct API test using cURL, which was successful:

curl -X POST https://api.firecrawl.dev/v0/scrape \
-H "Content-Type: application/json" \
-H "Authorization: Bearer [YOUR_FIRECRAWL_API_KEY]" \
-d '{"url": "https://example.com"}'

This test returned a successful `{"success":true}` response.

This confirms the issue is likely within the application's code and how it handles the API call to Firecrawl. Thank you for looking into this.

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.