MIDDLEWARE_INVOCATION_FAILED
מה אומרת שגיאת Vercel (אחסון) הזאת
איך זה מופיע
500 MIDDLEWARE_INVOCATION_FAILED
מה זה אומר
The Routing Middleware that runs before your pages failed while handling the request, for example because of an unhandled error in its code, so Vercel returned 500 Internal Server Error.
הסיבה הנפוצה באפליקציה שנבנתה עם AI
AI tools often add a middleware file that creates a Supabase client to refresh the session on every request. If the Supabase URL or key variables are missing on Vercel, that middleware throws on every page.
בדקו את זה קודם
In your Vercel project settings, check that every environment variable your middleware file reads is set for the environment you deployed to.