Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Update scrape.ts

Nicolasfd2452ec9c62
diff --git a/apps/api/src/controllers/scrape.ts b/apps/api/src/controllers/scrape.ts
index 4987f8f76..267fdb509 100644
--- a/apps/api/src/controllers/scrape.ts
+++ b/apps/api/src/controllers/scrape.ts
@@ -150,7 +150,7 @@ export async function scrapeController(req: Request, res: Response) {
} catch (error) {
console.error(error);
earlyReturn = true;
- return res.status(402).json({ error: "Error checking team credits. Please contact [email protected] for help." });
+ return res.status(500).json({ error: "Error checking team credits. Please contact [email protected] for help." });
}
};