Error in SMS GATEWAY

Probably your configuration is wrong.

You see this line?

You can configure the log level “debug” in your pi.cfg and return retry the atempt. The log file will then contain a traceback of the exception, which will give you more insight.