Skip to content
Back

unable to send OTP with createPhoneVerification and getting empty secret in the response

  • 0
  • Web
Rehman Khan
13 Jan, 2025, 14:40

I am new to Appwrite. I am trying to verify the phone number for email/password auth users. When I call the CreatePhoneVerification function it returns a success response but the opt is not sent and the secret is empty. Twilio is configured and messaging is enabled, when I manually send a message from messaging section in appwrite console I receive it.

TL;DR
Developers unable to send OTP via CreatePhoneVerification in Appwrite, receiving empty secret in response. Twilio configured correctly. Messages not going through Twilio dashboard. Manually sending message from Appwrite console works. Any relation to Discord post?
Kenny
13 Jan, 2025, 14:42

Does this have any relation to this support post?

https://discord.com/channels/564160730845151244/1328356020296355892

Rehman Khan
13 Jan, 2025, 14:47

No, I have a similar issue

Kenny
13 Jan, 2025, 14:48

Are you self hosting? Can you see in your twilio dashboard any errors from it trying to send anything?

Rehman Khan
13 Jan, 2025, 14:50

Yes, Do you mean messaging section in appwrite console?

Kenny
13 Jan, 2025, 14:55

no, I don't think otps go through the messaging section in appwrite.

Kenny
13 Jan, 2025, 14:56

I mean in your twilio dashboard, are you seeing any failed messages?

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