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
- Site deployment keeps getting failed
Hi good folks, need a hand with Sites deploy Error on every deploy: Synchronous function execution timed out... duration doesn't exceed 30 seconds [exact log ...
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...
- trying to figure out how to activate my...
please help