Back

MSG 91 ERROR

  • 0
  • Self Hosted
  • Accounts
rohan
30 Oct, 2023, 21:42

its getting the auth key proper.. and also flow id

TL;DR
Title: MSG 91 ERROR Messages: The user encountered an error with MSG 91. They found that the incorrect openssl key caused the SMS not to send. The user made changes using the sed command in the docker-compose file and restarted the messaging service. After these changes, the SMS sent successfully without any errors. The user is unsure why the incorrect openssl key caused this issue. The user also mentioned that dollar signs were being interpolated improperly. Currently, the user is facing this issue whenever they upgrade or migrate Appwrite. They asked if there are any occurances of Usssf in the environment or docker-compose.yml file. The user
rohan
30 Oct, 2023, 21:42

but only the messge and mobile is missing

Drake
30 Oct, 2023, 21:43

Can you share your flow?

rohan
30 Oct, 2023, 21:43

flow in the sense template id?

Drake
30 Oct, 2023, 21:44

The actual flow or template

rohan
30 Oct, 2023, 21:45

its

TypeScript
Hi, Your login OTP is ##otp## . Please do not share it with anyone.
-RBMSMS
Drake
30 Oct, 2023, 21:53

Do you have Usssf in your env or docker-compose.yml somewhere?

rohan
30 Oct, 2023, 21:54

I have no idea.. but it just keeps appearing everything i upgrade appwrite or migrate

rohan
30 Oct, 2023, 21:54

But the Usssf never gave me any trouble

Drake
30 Oct, 2023, 21:54

Search please

rohan
30 Oct, 2023, 21:57

and in docker compose file there are no occurances

Drake
30 Oct, 2023, 21:58

Ya...dollar signs would get interpolated improperly

rohan
30 Oct, 2023, 21:59

oh how to fix it?

rohan
30 Oct, 2023, 21:59

just remove the $ sign ?

rohan
30 Oct, 2023, 22:00

yes you are right

Drake
30 Oct, 2023, 22:01

Set it to that then

rohan
30 Oct, 2023, 22:01

should i restart the appwrite stack?

Drake
30 Oct, 2023, 22:02

Recreate with docker compose up -d

Drake
30 Oct, 2023, 22:02

Then run this again

rohan
30 Oct, 2023, 22:03

this time it ran without any errors

TypeScript
docker compose exec appwrite-worker-messaging sed -i 's#\[$to\]#$to#g' /usr/src/code/vendor/utopia-php/messaging/src/Utopia/Messaging/Adapters/SMS/Msg91.php
docker compose restart appwrite-worker-messaging
[+] Restarting 1/1
 ✔ Container appwrite-worker-messaging  Started                           10.5s
rohan
30 Oct, 2023, 22:06

and it worked

rohan
30 Oct, 2023, 22:06

i got the sms

Drake
30 Oct, 2023, 22:06

Lol I'm surprised but I'll take it 🤣

Drake
30 Oct, 2023, 22:07

I don't really understand why the incorrect openssl key would make the sms not send

rohan
30 Oct, 2023, 22:07

also im using appwrite from very long and when i first installed it the openssl key was set with $

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more