Skip to content

Instantly share code, notes, and snippets.

@nmattam
Created June 14, 2015 00:51
Show Gist options
  • Save nmattam/b4139d937f08cebc3653 to your computer and use it in GitHub Desktop.
Save nmattam/b4139d937f08cebc3653 to your computer and use it in GitHub Desktop.
Twilio Error
Fatal error: Uncaught exception 'Services_Twilio_RestException' with message 'The 'To' number 5551234567 is not a valid phone number.' in /var/www/psn/twilio-php/Services/Twilio.php:213 Stack trace: #0 /var/www/psn/twilio-php/Services/Twilio.php(185): Services_Twilio->_processResponse(Array) #1 /var/www/psn/twilio-php/Services/Twilio/ListResource.php(83): Services_Twilio->createData('/2010-04-01/Acc...', Array) #2 /var/www/psn/twilio-php/Services/Twilio/Rest/SmsMessages.php(17): Services_Twilio_ListResource->_create(Array) #3 /var/www/psn/pg/scripts/classes/sky.php(178): Services_Twilio_Rest_SmsMessages->create('7342742961', '5551234567', 'You have been S...') #4 /var/www/psn/fr_app.php(20): sky::parse_recognition_response(Object(stdClass), '237') #5 {main} thrown in /var/www/psn/twilio-php/Services/Twilio.php on line 213
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment