I have setup my account for phone sign up and adde...
# help
s
I have setup my account for phone sign up and added my Twilio credentials. I am trying to call
signUp({phone:'+15141234567', password: 'some-password')
(with of course my real number) but I get the error
Error sending confirmation sms: json: cannot unmarshal number into Go struct field SmsStatus.status of type string
I tried restarting my server on the dashboard to no avail. Any clues?
n
Hello @srosato! This thread has been automatically created from your message in #843999948717555735 a ``few seconds ago``. Pinging @User so that they see this as well! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ... menu) and select Leave Thread to unsubscribe from future updates. Want to change the title? Use the
/title
command! We have solved your problem? Click the button below to archive it.
🆕 Phone SignUp, cannot unmashal number error
g
Just pointing you to this, I have no idea how it helps, but... https://github.com/supabase/gotrue/issues/320 see the error code in the issue.
n
Phone SignUp, cannot unmashal number error
s
Well it did help, I think there was a bug. I disabled confirmation and re-enabled it back and it now works. Thats odd. Maybe I can point out that oddly when I toggle options in the settings it does not work, but if I refresh the page I can see the option toggled on/off. Maybe some UI bug at the moment. Like right now the "send confirmation" is toggled on, but it does not seem to sens any confirmation, it just authenticates me like I disabled it
Ah no it does toggle, just takes somewhere around 3-5 seconds
ok if I
signUp
using phone/password and I disable phone confirmation it works. If I enable the toggle thats when I have the error
g
My take on the error is some status comes back from the provider that gotrue barfs on, but that is a guess.
s
Yeah investigating, maybe something wrong with my twilio account
ok it works, I used an account that was suspended long time ago, I did not see the warning until I switched page in Twilio even though they still give the credentials and the phone number.
Thanks for the help
n
Thread was archived by @srosato. Anyone can send a message to unarchive it.