Loading
ただいま大変多くのお問い合わせをいただいており、ご連絡までにお時間を頂戴しております続きを読む

Transfer to agent or queue using Salesforce Voice Toolkit API addParticipant

公開日: Jun 19, 2026
説明

Attempting to add an Agent ARN or Queue ARN through the Add Participant action results in a CAN_NOT_ADD_PARTICIPANT error with the message: "Invalid agent or contact state.

Steps to Reproduce

  1. Establish an active voice call.
  2. Enter a valid Agent ARN or Queue ARN in the Add Participant field.
  3. Click Add Participant.

Observed Behavior

The request fails and the following error is logged:

SCV dispatched error CAN_NOT_ADD_PARTICIPANT for eventType ADD_PARTICIPANT

{

  "type": "InvalidStateException",

  "message": "Cannot create new connection by endpoint ARN: <Agent ARN>: Invalid agent or contact state."

}

Expected Behavior

The specified agent or queue should be added to the active call successfully.

 

解決策

Resolution

When using the Voice Toolkit API addParticipant method to add an agent or queue to an active call, the corresponding Quick Connect ARN should be used as the destination rather than the Agent ARN or Queue ARN directly.

Using an Agent ARN or Queue ARN may result in an InvalidStateException and prevent the participant from being added to the call.

ナレッジ記事番号

005387384

 
読み込み中
Salesforce Help | Article