firebase-js-sdk icon indicating copy to clipboard operation
firebase-js-sdk copied to clipboard

I got this error help me please.

Open nut-nuttawat opened this issue 4 years ago • 5 comments

[REQUIRED] Describe your environment

  • Operating System version: macos
  • Browser version: _____
  • Firebase SDK version: "^9.6.10",
  • Firebase Product: auth (signInWithPhoneNumber)

[REQUIRED] Describe the problem

Steps to reproduce:

Relevant Code:

// TODO(you): code here to reproduce the problem

Screen Shot 2565-03-31 at 15 16 42

nut-nuttawat avatar Mar 31 '22 08:03 nut-nuttawat

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

google-oss-bot avatar Mar 31 '22 08:03 google-oss-bot

Can you show the line of code where you call signInWithPhoneNumber? Perhaps there's a missing argument.

hsubox76 avatar Mar 31 '22 17:03 hsubox76

Screen Shot 2565-04-01 at 10 36 23

here is my code and createUserWithEmailAndPassword it's work fine

nut-nuttawat avatar Apr 01 '22 03:04 nut-nuttawat

Can you console.log the value of phoneNumber on the line right before signInWithPhoneNumber is called? I notice in your initial post there seems to be a log of an object ("On Clicked Signin") which has a property where phoneNumber is spelled wrong (phonenNumber). If you're passing that object directly into onSignIn() it may cause phoneNumber to be undefined here.

hsubox76 avatar Apr 01 '22 17:04 hsubox76

oh I got it thank you

nut-nuttawat avatar Apr 02 '22 04:04 nut-nuttawat