Question: SMS Setting Error Help

SMS Setting Error Help

I need help about SMS feature, im trying using Twilio after i input my SID and everything i tried to send sms it give me an error "SMS request has been failed, please check the sms log." I

EH

Einnlleinhatt Ha

Asked
I need help about SMS feature, im trying using Twilio after i input my SID and everything i tried to send sms it give me an error "SMS request has been failed, please check the sms log."

I checked the log and here what happend

[2020-03-22 15:00:38] SMS.ERROR: Twilio response {"error":"Client error: `POST https://api.twilio.com/2010-04-01/Accounts/AC228a56dd572892f28e5bc60f2ad3bd4b/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"} []
  • MS

    Mian Saleem

    Answered
    Hello,

    The error says that `Body` is missing. I have checked the SMS libraries, it is added the body to and can't send sms without it :( Can you try again and check the twilio logs to check what request they received.
  • EH

    Einnlleinhatt Ha

    Answered
    I cant find where the log is it, can you help me ?
  • MS

    Mian Saleem

    Answered
    I am not sure too as never used twilio but most the gateway keep track/log for the request. You can check the twilio account or with twilio team about logs.
  • EH

    Einnlleinhatt Ha

    Answered
    Do you have any recomended for sms gateway ? I checked the Twilio logs and there is nothing in it.
  • MS

    Mian Saleem

    Answered
    Personally I haven't tried any. You can check any other in the list or try twilio as custom gateway, using url and all other setting provided as custom gateway option.
  • Login to Reply