Back
[SOLVED] appwrite-worker-messaging Call to a member function send() on null
- 0
- Self Hosted
- Accounts
rohan
Hi, im getting this error on phone auth
TypeScript
[Job] Received Job (653d0c2d8c9718.17156609).
[Job] (653d0c2d8c9718.17156609) failed to run.
[Job] (653d0c2d8c9718.17156609) Call to a member function send() on null
[Error] Type: Error
[Error] Message: Call to a member function send() on null
[Error] File: /usr/src/code/src/Appwrite/Platform/Workers/Messaging.php
[Error] Line: 102
TL;DR
The user was getting an error "Call to a member function send() on null" while using phone authentication. The issue was due to incorrect environment variable settings. They had set it as "@MSG91" instead of "@msg91". The problem was resolved by correcting the environment variable. Drake
I don't think your environment variables are set correctly
rohan
oh i had set it as @MSG91 but it was @msg91
rohan
i fixed it
Drake
[SOLVED] appwrite-worker-messaging Call to a member function send() on null
Recommended threads
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...
- Migrate from cloud to localhost
Hello everyone. I need to migrate my test project from cloud to localhost, however it seems that this is possible only if a self-hosted appwrite instance it's h...