Skip to content

lovable #11

@asperpharma

Description

@asperpharma
  1. Error: supabaseUrl is required.
  2. Error: supabaseKey is required.

SupabaseClient.ts:
51 | this.storageUrl =${supabaseUrl}/storage/v1;
> 52 | this.schema = settings.schema;

These two errors I'm getting in my React project (one at a time, not both together) are rather frustrating since my supabaseUrl and supabaseKey are, and have always been, provided to the createClient() function or SupabaseClient() constructor. For the first error, Supabase complains about line 51 in it's own file. For the second, line 52 is a problem.

I updated @supabase/supabase-js from version 1.22.5 to 1.22.6 and the URL error disappeared temporarily but then I switched to using my Service key instead of my Anon key and now the KEY error has taken its place. Is this a Supabase bug that is plaguing anyone else? Thanks for any tips you might have.

Casey

Originally posted by @CaseyG5 in supabase/supabase#3218

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions