If the CloudFormation stack deployment fails, use the Events tab to find the first CREATE_FAILED message.
If the CREATE_FAILED message refers to a nested stack, then find that nested stack, and anad navigate to the first CREATE_FAILED message. NOTE - if your stack rolled back already, the nested stacks are automatically deleted for you, so to find them change the Stacks filter from Active
to Deleted
.
Stacks may be nested several levels deep, so keep drilling down till you find the first resource that failed in the more deeply nested stack.
Examine the Status reason column for clues to the failure reason.
Some common failure reasons are listed below.
-
An error occurred (AccessDeniedException) when calling the SearchAvailablePhoneNumbers operation: Service is restricted for AWSAccountId XXXXXXXXXXXX
- Cause: Your CallAudioSource is Demo Asterisk PBX Server and your AWS account has not (yet) been granted permission to allocate a Phone Number.
- Suggested Actions:
- Navigate to the Amazon Chime console
- In the upper right, select Support > Submit Request
- For Category, choose Voice Calling
- For Subject, enter Unable to search for phone numbers with LCA
- For Issue, enter I am deploying the AWS Live Call Analytics Solution, and I am receiving this error: Exception thrown: An error occurred (AccessDeniedException) when calling the SearchAvailablePhoneNumbers operation: Service is restricted for AWSAccountId XXXXXXXXXXXX
- If you are still having issues, please open an AWS Support Case by navigating to the Support Center in the AWS Management Console, and click on "Create Case".
-
An error occurred (BadRequestException) when calling the CreateVoiceConnector operation: Service received a bad request.
- Cause: Your CallAudioSource is Demo Asterisk PBX Server or Chime VC SIPREC your AWS account already has 3 (max) Voice Connectors.
- Suggested Actions:
- Navigate to the Amazon Chime console
- Choose Voice Connectors
- Check if there are already 3 existing Voice Connectors. If so, you have reached the maximum number of voice connectors. In order to create a new voice connector, you will need to delete an existing voice connector.
- If you have already 3 LCA stacks installed, remove one or more of them to also remove the associated voice connector. Otherwise delete unused Voice Connectors from the Chime console: see Deleting an Amazon Chime Voice Connector
-
You have attempted to create more buckets than allowed
- Cause: Your account has reached the maximum allowed limit for number of S3 buckets (default 100)
- Suggested Actions:
- Empty and Delete unused buckets. Delete unused Cloudformation stacks that may have created buckets. OR
- Request a limit increase for number of Buckets at ServiceQuotas