Skip to content

ArgumentError on Sign Up #22720

@ShihanLi

Description

@ShihanLi

Improve documentation

The auth documentation specifies this is the way to create a new user:

final AuthResponse res = await supabase.auth.signUp(
email: 'example@email.com',
password: 'example-password',
);

https://supabase.com/docs/reference/dart/auth-signup?example=sign-up

When I used this code as is, I encountered this exception: ArgumentError (Invalid argument(s): No host specified in URI /auth/v1/signup?)

There is very little doc that reveals what the root cause could be. Would appreciate any help on this, with documentation including the commonly encountered exceptions when using the client and how to handle it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions