Try ERPNext Try Frappe Cloud Buy Support Partners Foundation

SMS not getting sent from SMS Center

Hello everyone,

What does the error
/api/method/runserverobj 500 (INTERNAL SERVER ERROR)” in bench console mean while sending SMS from SMS Center?

The SMS settings are correct and i am able to send sms using POST APIs from the same server.

Can you share a redacted screenshot of your settings?

I have SMS working for a few instances.

Hi @Shinzuco,

i have sms working with the same settings on my v13-beta server.

But on v13 server it doesnt work. I get the above error msg. Is there any prerequisite anywhere else, like system settings, website settings etc. to fill up before getting sms to work?

i think it has something to do with the format of sms gateway URL.

my gateway url is
i am able to send sms with this gateway url from v13-beta

But on v13, if i give the same url, i get the above error. If i change the url to
i am not getting any error and it shows me ‘SMS sent…’ But i am not getting the sms since the HTTP_SendSms function is missing.

This is the api userguide from my sms gateway

Messenger Web Service

i was able to solve it taking hint from an old post in this forum. i changed the field type of gateway url from Data to Small Text and typed the URL along with the required parameters. The static parameter table was kept empty. This way i was able to get the SMS sent succesfully.

1 Like

Was about to suggest that

1 Like

Thanks @Shinzuco