Sign Up throws BadRequestException

Open
#166 5 comments 0 reactions 1 assignee View on GitHub

@Tr00d is already working on this.

Since Jul 2, 2026.

Assessment

This issue has not been assessed yet.

Description

bug

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.

Dominant language
C#
Stars
701
Forks
106
Avg merge
16h 35m
Merged PRs (30d)
45

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from supabase/supabase-csharp

All issues in supabase/supabase-csharp

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.