Getting 403 when calling the API from fly.io
The exact same curl call fails inside fly.io but works on my machine.
This is when ssh into the firecracker VM:
curl -X POST https://api.firecrawl.dev/v1/scrape -H 'Content-Type: application/json' -H 'Authorization: Bearer fc-xxx' -d '{"url": "www.heise.de", "formats" : ["markdown"] }'
<html><head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>403 Forbidden</title>
</head>
<body text=#000000 bgcolor=#ffffff>
<h1>Error: Forbidden</h1>
<h2>Your client does not have permission to get URL <code>/v1/scrape</code> from this server.</h2>
<h2></h2>
</body></html>
Could this be a configuration issue on your Vercel setup?1 Reply
So, more digging around, turns out that Fly.io only gives out public ipv6 addresses. Is there a way that you guys could add an AAAA record for api.firecrawl.dev?