Twilio Agent Connect | Dec. 03, 2026

Updated error logging in Twilio Agent Connect SDKs to limit logged request details

Twilio released versions 2.7.0 of the Twilio Agent Connect (TAC) SDKs for TypeScript and Python on December 3, 2026. These releases fix how the SDKs log failed requests. Every application using an earlier version should be upgraded.

In earlier versions, the SDKs can write sensitive data to the application’s own logs when a request fails. These logs stay in the customer’s own logging setup, and nothing is sent to Twilio.

  • TypeScript, versions 1.0.0 through 2.6.0: Error logs can include the Twilio API key secret, the Authorization header, and request details such as end-user phone numbers and Studio handoff summaries.

  • Python, versions 1.0.1 through 2.6.0: Error logs can include request bodies, message text, phone numbers, email addresses, and Conversation Memory profile details. The Python SDK doesn’t log credentials.

The new versions log only the error message, the error code, and the HTTP status.

What customers need to do

  1. Upgrade the TypeScript SDK or Python SDK to the latest version, then redeploy every application that includes it.

  2. Review existing application logs from failed requests, and delete them or limit who can read them.

  3. Customers who used the TypeScript SDK should rotate the API keys used with it if their logs may have been shared outside their team, for example with a log vendor or in a support ticket.

For more information, see these resources:

Agent Connect Developer Insights

Additional Resources

Blog

Read more about our latest product updates, product tutorials, and community projects.


Docs

See API reference documentation, quickstarts, SDKs, and multi-language code samples.

Events

Find upcoming events and join us virtually or in person to learn more about our products.