marmelab / ra-supabase

Supabase adapter for react-admin, the frontend framework for building admin applications on top of REST/GraphQL services.
MIT License
142 stars 26 forks source link

Documentation v4 #27

Closed djhi closed 1 year ago

djhi commented 1 year ago
slax57 commented 1 year ago

I'm having issues running the app locally.

The getIdentity function makes the following calls to the API: http://localhost:54321/rest/v1/sales?select=id%2Cfirst_name%2Clast_name&email=eq.woodrow.yost44%40gmail.com

But each of them ends up in 406 Not Acceptable

Detailed response:

{"code":"PGRST116","details":"Results contain 0 rows, application/vnd.pgrst.object+json requires 1 row","hint":null,"message":"JSON object requested, multiple (or no) rows returned"}

What am I doing wrong?