Comments on: Send SMS with the ESP32 (Twilio) https://randomnerdtutorials.com/send-sms-esp32-twilio/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Fri, 25 Jul 2025 11:48:38 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Mike https://randomnerdtutorials.com/send-sms-esp32-twilio/#comment-1074593 Fri, 25 Jul 2025 11:48:38 +0000 https://randomnerdtutorials.com/?p=120879#comment-1074593 In reply to haripreeta.

I get the same error. Can’t figure it out

]]>
By: Sara Santos https://randomnerdtutorials.com/send-sms-esp32-twilio/#comment-1019687 Tue, 25 Mar 2025 10:42:46 +0000 https://randomnerdtutorials.com/?p=120879#comment-1019687 In reply to yuvaraj.

Hi.
Can you be more specific about the error?
Regards,
Sara

]]>
By: yuvaraj https://randomnerdtutorials.com/send-sms-esp32-twilio/#comment-1019594 Tue, 25 Mar 2025 05:03:17 +0000 https://randomnerdtutorials.com/?p=120879#comment-1019594 i am getting various errors like in header files , and in wifi
can anyone please help me regarding this

]]>
By: haripreeta https://randomnerdtutorials.com/send-sms-esp32-twilio/#comment-909814 Fri, 26 Apr 2024 06:55:20 +0000 https://randomnerdtutorials.com/?p=120879#comment-909814 d:\Documents\Arduino\libraries\twilio-esp32-client\src\twilio.cpp: In member function ‘bool Twilio::send_message(const String&, const String&, const String&, String&, const String&)’:
d:\Documents\Arduino\libraries\twilio-esp32-client\src\twilio.cpp:41:10: error: ‘class BearSSL::WiFiClientSecure’ has no member named ‘setCACert’
41 | client.setCACert(ca_crt);
| ^~~~~~~~~
d:\Documents\Arduino\libraries\twilio-esp32-client\src\twilio.cpp: In static member function ‘static String Twilio::_get_auth_header(const String&, const String&)’:
d:\Documents\Arduino\libraries\twilio-esp32-client\src\twilio.cpp:119:16: error: incomplete type ‘std::string’ {aka ‘std::__cxx11::basic_string’} used in nested name specifier
119 | std::string::size_type i = 0;
| ^~~~~~~~~
d:\Documents\Arduino\libraries\twilio-esp32-client\src\twilio.cpp:122:10: error: ‘i’ was not declared in this scope
122 | while (i < encoded_string.length()) {
| ^

this is the error i am currently facing…i downloaded the library from your github link, but still there is problem with library..kindly help me with it

]]>
By: Reid https://randomnerdtutorials.com/send-sms-esp32-twilio/#comment-908761 Mon, 22 Apr 2024 16:27:44 +0000 https://randomnerdtutorials.com/?p=120879#comment-908761 In reply to Paul.

Could you provide updated code for this? I am still getting connection errors

]]>
By: Paul https://randomnerdtutorials.com/send-sms-esp32-twilio/#comment-899767 Wed, 20 Mar 2024 20:00:59 +0000 https://randomnerdtutorials.com/?p=120879#comment-899767 Thanks for the heads up on the certificate update. I had to manually copy the digicert.cpp file into my IDE library file but it worked thanks again.

]]>
By: Sara Santos https://randomnerdtutorials.com/send-sms-esp32-twilio/#comment-882010 Thu, 04 Jan 2024 21:22:47 +0000 https://randomnerdtutorials.com/?p=120879#comment-882010 In reply to Jim Allison.

Hi.
Thanks for sharing that info.
That’s something new to take a look at.
Regards,
Sara

]]>
By: Jim Allison https://randomnerdtutorials.com/send-sms-esp32-twilio/#comment-881954 Thu, 04 Jan 2024 15:48:42 +0000 https://randomnerdtutorials.com/?p=120879#comment-881954 In reply to Sara Santos.

Hi Sara, Yes, Twilio changed their certificate on December 10th. As a result, the old certificate that was part of the twilio-esp32-client library no longer worked. Adam Demuri updated the library with a new certificate on December 3rd. So, once I compiled my code with this updated certificate, everything worked again. Yaay! Twilio warns against ‘pinning’ certificates in our microcontroller code and urges us to implement an automatic certificate update process, but that’s not something I know how to do. Consequently, I will have to see if my IOT devices are still working in December 2024 when Twilio updates their certificate.

]]>
By: Sara Santos https://randomnerdtutorials.com/send-sms-esp32-twilio/#comment-878492 Mon, 18 Dec 2023 10:58:47 +0000 https://randomnerdtutorials.com/?p=120879#comment-878492 In reply to Jim Allison.

Hi.
Maybe it’s better to contact their support to see if they made any changes on the API or something.
Regards,
Sara

]]>
By: Jim Allison https://randomnerdtutorials.com/send-sms-esp32-twilio/#comment-878224 Sat, 16 Dec 2023 22:36:12 +0000 https://randomnerdtutorials.com/?p=120879#comment-878224 In reply to Jacques Laplante.

I’m having the same issue… Connection failed! Suddenly, all my ESP32 IOT devices have stopped connecting with Twilio. I’ve had stable Twilio connections for many months so this is very strange.

]]>