Closed Keatooon closed 7 years ago
Have upgraded my account and purchase a phone number... anything else to configure?
What error message are you getting?
On Sun, Jul 16, 2017 at 04:30 Keatooon notifications@github.com wrote:
Have upgraded my account and purchase a phone number... anything else to configure?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sfreiberg/gotwilio/issues/17#issuecomment-315600074, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOSI4opcJkpk1KLI8yEMsgDiqimAvhsks5sOeYvgaJpZM4OZQdP .
--
-- Kevin Burke 925.271.7005 | kev.inburke.com
{400 Permission to send an SMS has not been enabled for the region indicated by the 'To' number: +60xxxxxxxxxx. 21408 https://www.twilio.com/docs/errors/21408}
Sorry it's my mistake, enabled the region makes it work
package main
import ( "github.com/sfreiberg/gotwilio" )
func main() { accountSid := "xxx" authToken := "xxx" twilio := gotwilio.NewTwilioClient(accountSid, authToken)
}