Skip to content

Sign Up throws BadRequestException #166

Open
@MilesLitteral

Description

@MilesLitteral

Bug report

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

Note: Confirm you have new user sign up enabled

  1. Initialize Supabase and Auth client
  2. Call supabase.Auth.SignUp(<email>, <password>);
  3. Run
  4. See error BadRequestException:
{
    "component":"api",
    "error": "400: Could not parse request body as JSON:
        json: cannot unmarshal array into Go value of: 
        type struct {
            Email string \"json:\\\"email\\\"\"; 
            Phone string \"json:\\\"phone\\\"\" 
        }",
    "level":"info","method":"POST","msg":
        "400: Could not parse request body as JSON: 
        json: cannot unmarshal array into Go value of
        type struct { 
            Email string \"json:\\\"email\\\"\"; 
            Phone string \"json:\\\"phone\\\"\"
        }",
    "path":"/signup",
    "referer":"https://nltzzlfvjiejvzpuyigo.supabase.co/auth/v1/callback",
    "remote_addr":"98.116.40.56",
    "request_id":"8a74ad0f3776422f-EWR",
    "time":"2024-07-22T16:06:05Z"
}

Expected behavior

Sign Up user acknowledged in dashboard

System information

  • OS: Windows
  • Browser (if applies): Unity
  • Version of supabase-C#: 3.10?

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions