Hello everyone, I’ve got an issue on my project, s...
# supabase-kt
c
Hello everyone, I’ve got an issue on my project, so I created a different schema in my project and trying to connect to it from my android app but when I try to make a call like;
Copy code
postgrest.from(SCHEMA_NAME, TABLE_A)
    .select()
    .decodeList<MyModel>()
I get the following error;
Copy code
io.github.jan.supabase.exceptions.UnknownRestException: The schema must be one of the following: public, storage, graphql_public
What am I doing wrong here please
j
I assume this
SCHEMA_NAME
is not
PUBLIC
, so have you read this page: https://supabase.com/docs/guides/api/using-custom-schemas?
c
Yeah, my schema isn’t public. Haven’t read the link, thanks!