Skip to content

Error sending confirmation SMS (Golang unable to marshal JSON) #239

@marcustut

Description

@marcustut

Bug report

Describe the bug

Phone Auth is not working properly when calling

const { user, error } = await supabase.auth.signUp({
  email: values.email,
  password: values.password,
  phone: values.phoneNumber
})

To Reproduce

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

  1. Use Phone Auth
  2. See error

Expected behavior

A confirmation SMS should be sent

Screenshots

image

System information

  • OS: Windows
  • Browser (if applies) Chrome
  • Version of supabase-js: 1.24.0

Additional context

The phone number is a Malaysian phone number starting with +60, since this error is coming from Golang, I suspect it's something wrong with the supabase backend?

Metadata

Metadata

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