PGRST303

מה אומרת שגיאת ה-API של הנתונים ב-Supabase הזאת

איך זה מופיע

JWT expired

מה זה אומר

The token could be read, but its claims did not pass validation, for example because it has expired. The API rejects the request with HTTP 401.

הסיבה הנפוצה באפליקציה שנבנתה עם AI

AI code sometimes copies the access token into its own variable or local storage once and keeps sending it, instead of letting the Supabase client refresh the session, so requests start failing when the token expires.

בדקו את זה קודם

Search your code for places that set the Authorization header by hand, and make sure each one reads the current session from the Supabase client right before the request.

עוד קודים של ה-API של הנתונים ב-Supabase