
Hi, I have set it up according to the docs https://appwrite.io/docs/advanced/self-hosting/sms the OTP for login was working before the upgrade to 1.5
appwrite-worker-messaging logs
Warning: Undefined array key "templateId" in /usr/src/code/src/Appwrite/Platform/Workers/Messaging.php on line 461
[Job] (65f19b7b27cfc0.65895609) failed to run.
[Job] (65f19b7b27cfc0.65895609) Utopia\Messaging\Adapter\SMS\Msg91::__construct(): Argument #3 ($templateId) must be of type string, null given, called in /usr/src/code/src/Appwrite/Platform/Workers/Messaging.php on line 461
[Error] Type: TypeError
[Error] Message: Utopia\Messaging\Adapter\SMS\Msg91::__construct(): Argument #3 ($templateId) must be of type string, null given, called in /usr/src/code/src/Appwrite/Platform/Workers/Messaging.php on line 461
[Error] File: /usr/src/code/vendor/utopia-php/messaging/src/Utopia/Messaging/Adapter/SMS/Msg91.php
[Error] Line: 21

Oye. Would you please create an issue?

in github?

Yes

Created

@Steven can you please let me know how to log the sms otps in logs of appwrite-worker-messaging

See the doc for certificate worker the same way you can log the messaging use -f to continuously log it

Or else install docker extension in vscode

i want to log out the message body being sent

@Steven how to set custom template for otps being sent?

you can't in Appwrite
Recommended threads
- Is it possible to initialize an Appwrite...
If I provide a project repository to someone, and within that repo there is an `appwrite.json`, is it possible to initialize the project in Appwrite from scratc...
- Cant set permission in console for organ...
Hi, I recently set up Appwrite on my server, and so far, it is awesome. Now I am trying to shift all my workflow to Appwrite. But I am facing one small issue. I...
- SMS based authentication issue AppwriteE...
Hi, I am creating sms based login. I am able to send SMS code to my real number however I am receving this error. I can log the "secret" and i can see it is not...
