开发者社区 问答 正文

智能外呼DEMO不能跑通

代码是https://help.aliyun.com/document_detail/69169.html?spm=a2c4g.11186623.6.560.5e03114fZNbAhT上面的。
能不能跟我解释一下 endPointName regionId product domain都应该填什么?
运行之后提示:com.aliyuncs.exceptions.ClientException: SDK.InvalidRegionId : Can not find endpoint to access.
//初始化acsClient,暂不支持region化
IClientProfile profile = DefaultProfile.getProfile("cn-hangzhou", accessKeyId, accessKeySecret);
DefaultProfile.addEndpoint("cn-hangzhou", "cn-hangzhou", "test", "testDomain");
IAcsClient acsClient = new DefaultAcsClient(profile);

展开
收起
adel 2019-01-04 11:43:29 821 分享 版权
1 条回答
写回答
取消 提交回答