FUNCTION_INVOCATION_TIMEOUT
מה אומרת שגיאת Vercel (אחסון) הזאת
איך זה מופיע
504 FUNCTION_INVOCATION_TIMEOUT
מה זה אומר
A Vercel Function took longer than its allowed execution time, so Vercel stopped waiting and returned 504 Gateway Timeout.
הסיבה הנפוצה באפליקציה שנבנתה עם AI
AI-generated API routes often wait for a slow step, such as a full AI model response or a large database query, before replying, and that wait runs past the function's maximum duration on your plan.
בדקו את זה קודם
Open the request in your Vercel project's Logs and compare how long the function ran with the maximum duration that applies to it.