Skip to content
Back

Phone OTP request is successful but users are not getting OTPs

  • 0
  • Auth
Aravinth
23 Aug, 2025, 05:37

Users are not getting OTPs from yesterday. appwrite app id: 67dc338f001d869661d6 Phone number I am trying with: +91 96291 07797

Attaching logs from our python app: DEFAULT 2025-08-23T05:16:36.850217Z 2025-08-23 05:16:36,849 - routers.auth - INFO - OTP request received for phone: +919629** DEFAULT 2025-08-23T05:16:36.850241Z 2025-08-23 05:16:36,850 - routers.auth - DEBUG - DIAGNOSTIC: Creating phone token for phone: +919629** DEFAULT 2025-08-23T05:16:36.850666Z 2025-08-23 05:16:36,850 - utils.appwrite_client - INFO - Creating phone token for phone: +919*97 DEFAULT 2025-08-23T05:16:36.850672Z 2025-08-23 05:16:36,850 - utils.appwrite_client - DEBUG - DIAGNOSTIC: User ID: 68a94eb400070727bdd3 DEFAULT 2025-08-23T05:16:37.149713Z 2025-08-23 05:16:37,149 - utils.appwrite_client - INFO - Phone token created successfully for user: 686c16e30001b6b76f20 DEFAULT 2025-08-23T05:16:37.149728Z 2025-08-23 05:16:37,149 - utils.appwrite_client - DEBUG - DIAGNOSTIC: Full create_phone_token result: {'$id': '<readacted>', '$createdAt': '2025-08-23T05:16:37.036+00:00', 'userId': '686c16e30001b6b76f20', 'secret': ‘=‘, 'expire': '2025-08-23T05:31:37.035+00:00', 'phrase': ''} DEFAULT 2025-08-23T05:16:37.149805Z 2025-08-23 05:16:37,149 - routers.auth - DEBUG - DIAGNOSTIC: Phone token created, user_id: 686c16e30001b6b76f20 DEFAULT 2025-08-23T05:16:37.150418Z 2025-08-23 05:16:37,150 - routers.auth - INFO - OTP sent successfully for phone: +919629* DEFAULT 2025-08-23T05:16:37.150978Z INFO: 169.254.169.126:46606 - "POST /auth/request-otp HTTP/1.1" 200 OK

TL;DR
Developers are not receiving OTPs on user phones despite successful OTP request status. Logs show OTP being created and sent. Investigate potential issues with SMS service provider or user phone carrier. Consider checking for restrictions blocking SMS delivery.
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