80616: Unsupported Identifier Type For Session Mode
PROXY
ERROR
This error occurs when you add a Participant identifier that does not match the Proxy Session mode. Proxy Sessions support message-only, voice-only, and voice-and-message. Proxy also supports non-phone channel identifiers for messaging use cases, but those identifiers must be used in a messaging flow that matches the Session mode.
- You created a
voice-onlyorvoice-and-messageSession, then tried to add a channel or chat identifier instead of a phone number as the Participantidentifier. - You are building a messaging app or chat integration, but the Session was not created as
message-only. Twilio's channel-based examples use channel identifiers inmessage-onlySessions. - You reused an
identifierorproxyIdentifierfrom a channel-based messaging setup in a Session that is expected to handle voice traffic. Proxy separates voice-capable and message-only session behavior through the Sessionmode.
- Check the Session
modebefore you add Participants. Usemessage-onlyfor chat or messaging channel identifiers. Usevoice-onlyorvoice-and-messageonly when the Participant can be represented by a phone number. - If you are using Proxy with messaging channels, pass the messaging app or chat value as the Participant
identifierand use the channel or contact address asproxyIdentifierin amessage-onlySession. - If the Session needs to support calls, recreate or update the flow so the Participant uses a phone number identifier, then verify your Proxy number pool includes numbers with the Voice or SMS capabilities required for that Session.