SMS Confirmation widget: Getting error message

  • Profile Image
    sandeep
    Asked on January 16, 2017 at 03:23 AM

    HI,

    I am getting same error. Please check the snippet.

    require_once "vendor/autoload.php";

    use Twilio\Rest\Client;

        $sid = "AC*****************************"; // Your Account SID from www.twilio.com/console
        $token = "e6***************"; // Your Auth Token from www.twilio.com/console

        $client = new Client($sid , 'SECRET-KEY', $token);
        $message = $client->messages->create(
          '98**********, // Text this number
          array(
            'from' => '99*********, // From a valid Twilio number
            'body' => 'Hello from Twilio! Sandeep'
          )
        );

  • Profile Image
    Charlie
    Answered on January 16, 2017 at 04:29 AM

    Could you please share us the form you are working on? I checked your email address but I cannot find an account associated with it. 

    Please do make sure that you are using the correct information regarding your Twilio account in the SMS Confirmation widget

     

    We'll wait for your response.