PGRST301

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

איך זה מופיע

Expected 3 parts in JWT; got 1

מה זה אומר

The token sent in the Authorization header could not be decoded or is not valid, so the API rejected the request with HTTP 401.

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

AI-generated fetch calls often build the header as Bearer plus a token variable that is still empty or undefined, so the API receives a broken token. Mixing keys from two different Supabase projects gives the same kind of rejection.

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

In the browser Network tab, open the failing request and read its Authorization header: it should be Bearer followed by one long token that contains two dots.

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