aws-samples / chimesdk-sip-voicebot

MIT No Attribution
2 stars 0 forks source link

Invalid Action List #3

Open lionelchamorro opened 7 months ago

lionelchamorro commented 7 months ago



Title: Invalid Lambda Response with "InvalidActionsList" Error When Using StartBotConversation Action

Body:

Summary: We are encountering an INVALID_LAMBDA_RESPONSE error with the InvalidActionsList message when using the StartBotConversation action as part of the Amazon Chime SDK integration for a voicebot. Despite following the AWS voicebot guide closely, the lambda fails after triggering the action.

Environment:

Issue Description: Upon deployment of the CDK infrastructure and initiating a call to Chime, the call gets disconnected post the StartBotConversation action execution. Below is the extracted error log from Lambda:

{ 
    "InvocationEventType": "INVALID_LAMBDA_RESPONSE",
    "ErrorType": "InvalidActionsList", 
    "ErrorMessage": "Error while reading actions list."
}

Steps Tried:

  1. Confirmed the correct usage of the StartBotConversation action as per the documentation.
  2. Replacing StartBotConversation with Speak confirms Lambda connectivity and correct flow.
  3. Verified BotAliasArn and its resource-based policy (AllowChimePstnAudioUseBot).
  4. Logging for both ChimeMediaApp and ChimeVoiceConnector did not reveal new information beyond the repeated InvalidActionsList message.
  5. Various checks on parameters such as CallId and removal of non-obligatory parameters did not resolve the issue.
  6. Intentional errors (incorrect bot ARN and action name) resulted in expected error messages, unlike the InvalidActionsList error.

Request for Assistance: We seem to have exhausted all potential solutions on our end, indicating a possible issue with the Chime SDK. We urgently need to resolve this to enable our voicebot functionality using StartBotConversation. Any insights or additional steps to troubleshoot this problem would be greatly appreciated.

Thank you in advance for your support.

lionelchamorro commented 7 months ago

@schuettc @jyjohnson

giridharknamz commented 7 months ago

This capability is behind a service quota, please open a service quota request: https://docs.aws.amazon.com/chime-sdk/latest/dg/start-bot-conversation.html#bot-billing