I am trying to integrate phone auth with msg91 and the OTPs are not getting triggered.
Doing docker logs appwrite-worker-messaging I get the following result:
[notice] Starting work on (Job{v1-messaging} | ID: aae6ddfb91a8fbb4b405d8318c1c83e5 | MessagingV1 | [{"project":null,"user":null,"payload":[],"recipient":"+919555217771","message":"461143","events":["."]}])
[critical] (Job{v1-messaging} | ID: aae6ddfb91a8fbb4b405d8318c1c83e5 | MessagingV1 | [{"project":null,"user":null,"payload":[],"recipient":"+919555217771","message":"461143","events":["."]}]) has failed Error: Call to a member function send() on null in /usr/src/code/app/workers/messaging.php:69
Stack trace:
#0 /usr/src/code/src/Appwrite/Resque/Worker.php(125): MessagingV1->run()
#1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Job.php(201): Appwrite\Resque\Worker->perform()
#2 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(303): Resque_Job->perform()
#3 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(242): Resque_Worker->perform(Object(Resque_Job))
#4 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
#5 {main}
My environment variables are set properly as per the documentation but it does not work. I am using functions to create a user and trigger OTP but I cannot create a session in case of node-appwrite.
Self hosting v1.4.4
looks like msg91 functionality is broken as there is already an issue open: https://github.com/utopia-php/messaging/issues/23
I'm also facing the same issue! Self hosting v1.4.5
did you make sure msg91 is lowercase?
please create a separate post if you're still having problems
msg91 does not work for otp
Recommended threads
- FCM Message error
When creating a message target via flutter sdk via ``` final target = await _account.createPushTarget( targetId: targetId, identifier: deviceTok...
- Bulk API limitations in self-hosted serv...
Environment: Appwrite Selfhost SDK: node-appwrite 28.0 Calling `upsertRows` (also applies to `createRows`/`updateRows`/`deleteRows`) with more than 100 rows fa...
- Self Hosted GitHub connection not adding...
After upgrading to 1.9.6 i noticed that i cannot search for new repositories when trying to add new functions. I removed the existing github connection via Set...