Back

OTP sends after 2nd try.

  • 1
  • Accounts
  • Cloud
-N I N J A-
3 Dec, 2023, 10:20

When I send OTP to the mobile number for authentication it is not sending in the first try always needs to resend OTP.

TL;DR
The user is experiencing an issue where the OTP (one-time password) is not being sent on the first try. They have tried multiple times and there is no problem with their network. They are looking for assistance in checking the network requests made by their web or React Native mobile app. Solution: It is suggested to use a dev tool to check the network requests being made by the app and verify if the API call for sending OTP is made twice.
Drake
3 Dec, 2023, 14:34

Are you able to check the network logs to verify the API call is made twice?

-N I N J A-
3 Dec, 2023, 17:49

I don't know how to check api log, I am asking for .createPhoneSession, I need to call .createPhoneSession twice for OTP.. but now it is working in 1st try

-N I N J A-
4 Dec, 2023, 05:31

Again not working .createPhoneSession after more than 2 tries. Why this happening?

Drake
4 Dec, 2023, 07:02

Is this a web or mobile app?

-N I N J A-
4 Dec, 2023, 10:07

React native mobile app

-N I N J A-
4 Dec, 2023, 10:07

Means web

Drake
4 Dec, 2023, 10:08

So you should be able to use some dev tool to see the network requests your app is making, right?

-N I N J A-
4 Dec, 2023, 10:08

No problem in network, checked it

-N I N J A-
16 Dec, 2023, 08:36

Today, again not getting OTP on mobile number after so many tries

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more