SUPPORT.TWILIO.COM END OF LIFE NOTICE: This site, support.twilio.com, is scheduled to go End of Life on February 27, 2024. All Twilio Support content has been migrated to help.twilio.com, where you can continue to find helpful Support articles, API docs, and Twilio blog content, and escalate your issues to our Support team. We encourage you to update your bookmarks and begin using the new site today for all your Twilio Support needs.

Error 53126: Legacy Room Type No Longer Supported in Twilio Programmable Video

Issue

If you receive error code 53126 (“Legacy room type no longer supported”) when connecting to a Twilio Programmable Video room, this article explains why it happens and how to resolve it.

When attempting to connect to or create a video room using the Twilio Video SDK, you may encounter the following error:

Error Code: 53126
Error Message: Legacy room type no longer supported

This can occur even if:

  • You are using new room names that have never existed before.
  • Your access token contains a valid VideoGrant.
  • The same code works on another (older) Twilio account.

Who Is Affected?

  • Developers creating new Twilio accounts or environments after October 21, 2024.
  • Applications or SDK integrations that attempt to create or connect to Go, P2P, or Small Group Rooms.
  • Users migrating code from older accounts to new ones without updating room type logic.

 

Product

Programmable Video

 

Cause

As of October 21, 2024, Twilio has deprecated the following Programmable Video room types:

  • Go Rooms
  • P2P Rooms
  • Small Group Rooms

These legacy room types are now only available to accounts that were active before this date. New Twilio accounts or environments created after October 21, 2024, do not have access to these room types. Only Group Rooms are supported for new accounts.

 

Resolution

  1. Use Group Rooms:
    Update your application to use the Group Room type for all new environments and accounts. Group Rooms are fully supported and offer enhanced features and scalability.
  2. Check Your Code:
    Ensure your backend and frontend code do not specify or default to a legacy room type. When using the Twilio Video SDK, avoid explicitly requesting Go, P2P, or Small Group Rooms.
  3. Token Generation:
    When generating access tokens, use the VideoGrant as usual, but ensure the room name and type are compatible with Group Rooms.
  4. Migration Guidance:
    If you have existing applications using legacy room types, review Twilio’s migration guides to update your implementation for Group Rooms.

 

Additional Information

Can I still use P2P or Small Group Rooms on my old account?

Yes, if your account was active before October 21, 2024, you may continue to use legacy room types. New accounts do not have this option.

My code works on one account but not another. Why?

The account where it works likely has legacy room type access. Newer accounts are restricted to Group Rooms only.

How do I migrate my application to Group Rooms?

Refer to Twilio’s migration documentation and update your room creation logic to use Group Rooms.

 

Below you will find references to useful documents:

Have more questions? Submit a request
Powered by Zendesk