调用NodeJS AWS SDK创建Amazon Connect实例后状态为CREATION_FAILED
I'm running the following code in an AWS Lambda function to create an Amazon Connect instance:
await connect.createInstance({ InstanceAlias: 'my-connect-instance', IdentityManagementType: 'CONNECT_MANAGED', InboundCallsEnabled: true, OutboundCallsEnabled: true }).promise();
The API response comes back showing success with an ID and ARN:
{ "Id": "fx5c4558--4742-n365-f817e7018752", "Arn": "arn:aws:connect:us-east-1:***********:instance/fx5c4558--4742-n365-f817e7018752" }
However, when I check the AWS Connect console dashboard, the instance shows a status of Create error with all details like Instance Alias marked as Unknown. Additionally, calling the listInstances API returns the instance with a status of CREATION_FAILED, and all other properties are null.
I've already tried several troubleshooting steps without any luck:
- Deleted all historical instances (including failed ones)
- Tried different values for
InstanceAlias - Removed the optional
InstanceAliasparameter entirely - Switched AWS regions (tested us-east-1 and us-west-2)
Has anyone encountered this issue before or can offer guidance on how to resolve it?
内容的提问来源于stack exchange,提问作者Kevin Glick

