PGRST200
מה אומרת שגיאת ה-API של הנתונים ב-Supabase הזאת
איך זה מופיע
Could not find a relationship between '<table>' and '<other_table>' in the schema cache
מה זה אומר
The query tried to embed one table inside another in a single request, but the API knows no foreign key between them. Either the relationship does not exist, or the API's schema cache is out of date.
הסיבה הנפוצה באפליקציה שנבנתה עם AI
AI tools often write a select like select('*, profiles(*)') that assumes a link between two tables. The generated SQL may point the foreign key at auth.users instead of profiles, or never create it at all.
בדקו את זה קודם
Open the table in the Supabase Table Editor and check that it has a foreign key column pointing at the other table named in the error.