Current behavior: When AI tools such as OpenAI's ChatGPT (with browsing enabled) attempt to access my Vercel-hosted site https://pattern-paradise.shop, the request returns a 500 Internal Server Error. This includes both dynamic routes and even static assets like images.
Expected behavior: The site should return a 200 OK response with the expected content, as it does for browsers, curl, and other tools. Static assets and public pages should be accessible to all visitors, including bots.
Reproduction Steps
- Deploy a public Next.js site to Vercel.
- Confirm that public pages and assets (e.g., .jpeg files in /public) work in a browser and via curl.
- Attempt to access the same URL from ChatGPT (or similar AI agent) using its browsing tool.
- The request results in a 500 Internal Server Error, with no log recorded in the Vercel dashboard.
Example failing URL for AI tools (but works in browser and curl): https://pattern-paradise.shop/assets/mystery-pattern_v2.jpeg
Project Information
- Framework: Next.js
- Hosting platform: Vercel
- Analytics: /analytics
- robots.txt: Allows all bots (User-agent: *, with sitemap included)
- Issue affects: All routes and assets, including static files
Additional Details
- There are no log entries for these failed requests in Vercel's logs (suggesting the error may occur before the request reaches the app).
- Requests from browsers and tools like curl succeed — even using curl -A "ChatGPT".
- Only requests from AI agents (like ChatGPT browsing) trigger the 500 error.
Request for Help
- Is Vercel blocking or rate-limiting headless/AI traffic at the edge or CDN layer?
- Is there a recommended way to allow access from bots like ChatGPT?
- Could this be a region-specific or user-agent-specific issue?
- Any known workarounds or headers required for AI access?
Let me know what else I can provide to help reproduce or diagnose the issue. I’d appreciate any insight or advice on how to resolve this.
Thanks in advance.
