
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
- Could not connect to SMTP host
I have tried between 2 different mails and hosts to activate the SMTP of my self-hosted Appwrite instance but to no avail. No matter what I set this is the log...
- User (role: guests) missing scope (accou...
is this an expected behavior?
- Error 500 connecting to Github [Unknown ...
I am trying to connect my self-hosted 1.7.4 instance to Github and am getting the following erorr: ```[Error] Timestamp: 2025-05-30T17:03:24+00:00 [Error] Met...
