Skip to content

Supabase Setup: Environment Variables for Project URL and Anon Key Marked as Invalid in FlutterFlow #6542

@SybrandWillen

Description

@SybrandWillen

Can we access your project?

  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

When configuring Supabase in FlutterFlow, the connection shows errors if I use environment variables for the API URL and Anon Key.
• I created environment variables in Settings › Environment Variables (SUPABASE_URL and SUPABASE_ANON_KEY).
• Linked them in the Supabase setup screen using the variable picker.
• FlutterFlow shows the variables correctly in the fields, but it still displays the following errors in the Issues panel:
• Project uses Supabase but Project URL is not valid
• Project uses Supabase but Anon Key is not valid

The Get Schema button works correctly and loads the schema as expected.
However, when trying to build/deploy the project, the build process fails because these fields are considered invalid.

Actual behavior:
• Issues panel flags the environment variables as invalid.
• Even though schema loading works, the build fails when using environment variables.
• If I paste the raw values directly, everything works fine.

Environment:
• FlutterFlow (latest version, web editor)
• Supabase project with valid URL and anon public key

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: needs triageA potential issue that has not been confirmed as a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions