sfreiberg / gotwilio

Twilio library for Go (golang).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SendSMS returns error but still works

vendion opened this issue · comments

When calling the SendSMS method it returns the following error strconv.ParseFloat: parsing "": invailid syntax. I am calling the SendSMS method like the readme has documented:

sms, exc, err := twilio.SendSMS(from, to, body, "", "")

even though it returns an error the message is still sent to Twilio.

I'm getting the same.

Message comes through to the device, but reports an error regardless.

Go: 1.2
Gotwilio commit: 0fda6c6

Should have a fix for this later tonight.

Fixed in commit a0ce1cb.