sfreiberg / gotwilio

Twilio library for Go (golang).
BSD 2-Clause "Simplified" License
342 stars 136 forks source link

SendSMS returns error but still works #2

Closed vendion closed 11 years ago

vendion commented 11 years ago

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.

zmarcantel commented 11 years ago

I'm getting the same.

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

Go: 1.2 Gotwilio commit: 0fda6c6675c3a62b7ec0f2dbe2d5c8ee11fcc2ed

sfreiberg commented 11 years ago

Should have a fix for this later tonight.

sfreiberg commented 11 years ago

Fixed in commit a0ce1cb.