I’m experiencing a persistent 500 Internal Server Error with the following message:
Error fetching invite: TypeError: Failed to parse URL from /pipeline
I’ve thoroughly investigated and confirmed:
There’s no explicit reference to /pipeline in my project’s code, dependencies, middleware, or configurations.
Middleware is minimal and doesn’t mention /pipeline.
Google Analytics and Tag Manager have been completely removed, ruling out external script issues.
All CSP headers and environmental variables are properly configured.
The error trace clearly originates from within Next.js internals (undici, OpenTelemetry tracing, and internal app-route runtime), not my custom logic.
Full error excerpt from Vercel logs:
TypeError: Invalid URL
at new URL (node:internal/url:818:25)
at new Request (node:internal/deps/undici/undici:9586:25)
at /var/task/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:6:30289
at N (/var/task/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:6:35398)
at ProxyTracer.startActiveSpan (/var/task/node_modules/@opentelemetry/api/build/src/trace/ProxyTracer.js:36:24)
Could you please investigate if this issue relates to an internal Vercel configuration, feature, or Next.js runtime behavior? Let me know if you need additional details or access.
Thanks for your help!