JU
Asked
I can not send a message from my site this is the error message.
[2020-08-28 16:56:18] SMS.ERROR: Twilio response {"error":"Client error: `POST https://api.twilio.com/2010-04-01/Accounts/ACbf30ddefe1c004504cef438f94549b89/Messages.json` resulted in a `400 BAD REQUEST` response:\n{\"code\": 21602, \"message\": \"Message body is required.\", \"more_info\": \"https://www.twilio.com/docs/errors/21602\", \"status (truncated...)\n"} []
[2020-08-28 16:56:18] SMS.ERROR: Twilio response {"error":"Client error: `POST https://api.twilio.com/2010-04-01/Accounts/ACbf30ddefe1c004504cef438f94549b89/Messages.json` resulted in a `400 BAD REQUEST` response:\n{\"code\": 21602, \"message\": \"Message body is required.\", \"more_info\": \"https://www.twilio.com/docs/errors/21602\", \"status (truncated...)\n"} []
- MSAnsweredHello,
For unknown reason the message body is missing. You can try log to test it. If you are not using default language, please make sure sms lang is translated correctly.
Is there any error on sms log page? - JUAnsweredThe default language you meant English or what?
I tried again with English also but still not work and see the same thing in the message log.
[2020-08-31 06:37:34] SMS.ERROR: Twilio response {"error":"Client error: `POST https://api.twilio.com/2010-04-01/Accounts/ACbf30ddefe1c004504cef438f94549b89/Messages.json` resulted in a `400 BAD REQUEST` response:\n{\"code\": 21602, \"message\": \"Message body is required.\", \"more_info\": \"https://www.twilio.com/docs/errors/21602\", \"status (truncated...)\n"} [] - MSAnsweredHello,
The sms library should send the message `Body` How are you test this? Are you trying to send the sms? I mean with sale or from send sms page? - JUAnsweredhttps://sma.psatomnerb.com/admin/shop_settings/send_sms
I sent from the admin area.
How do I send sms with sale? - MSAnsweredHello,
Each new sale will auto send the sms to customer phone number. The send sms should work too.
Thank you - JUAnsweredOk, let me check with them and will let you know after that.
- Login to Reply