# Error Connecting to Twilio

**URL:** <https://forum.inductiveautomation.com/t/error-connecting-to-twilio/115169>\
**Category:** Ignition\
**Created:** [April 20, 2026, 8:57pm UTC](https://forum.inductiveautomation.com/t/error-connecting-to-twilio/115169 "2026-04-20T20:57:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_Motts1](https://avatars.discourse-cdn.com/v4/letter/b/f19dbf/32.png) [@Brian\_Motts1](https://forum.inductiveautomation.com/u/Brian_Motts1)\
**Post date:** [April 20, 2026, 8:57pm UTC](https://forum.inductiveautomation.com/t/error-connecting-to-twilio/115169/1 "2026-04-20T20:57:31Z")

</div>

Hello, I am getting the following error in the logs: 'Error connecting to Twilio'. I am running Ignition v8.1.20. This is a new connection and I am not sure what the next steps are. Below is a the first line from the error, and a screenshot of the log is below. Any ideas what the next steps are?

com.twilio.exception.ApiException: Unexpected character ('\<' (code 60)): expected a valid value (JSON String, Number, Array, Object or token 'null', 'true' or 'false') at [Source: (ByteArrayInputStream); line: 1, column: 2]

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/a/1ad2a586ff3520d998b2a598ed64c791b2f15735.png)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [April 20, 2026, 9:31pm UTC](https://forum.inductiveautomation.com/t/error-connecting-to-twilio/115169/2 "2026-04-20T21:31:02Z")

</div>

Educated guess: The Twilio module is trying to make a connection to Twilio's servers (in the cloud) and we're getting an HTML/404 page (the unexpected character `<` is probably the first character in an `<html>` tag).

It looks like although the Twilio module in 8.1.20 is using a very old version of the Twilio **SDK** , it's still calling the correct version of the REST API. That means either:

1. Something is incorrect in your credentials
2. Something is interfering in your network calls between the Ignition gateway and Twilio's cloud service, such as an IT/"security" agent acting as a man-in-the-middle.
