You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

调用NodeJS AWS SDK创建Amazon Connect实例后状态为CREATION_FAILED

AWS Connect Instance Returns Success in API Call but Ends Up in CREATION_FAILED Status

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 InstanceAlias parameter 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

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.11 07:28:32