无法从Amazon Chime创建用户
我正在尝试通过JavaScript使用Amazon Chime的“ CreateUser”函数创建用户,但是我得到了“ BadRequestException:Service收到的不良请求”。有人面对这个问题吗?
const params = {
AccountId: process.env.ACCOUNT_ID /* required */,
Email: '[email protected]',
Username: 'TestUser',
UserType: 'SharedDevice',
};
chime.createUser(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
I am trying to create user using "CreateUser" function of Amazon Chime through javascript but I am getting "BadRequestException: Service received a bad request". Has anyone faced this issue?
const params = {
AccountId: process.env.ACCOUNT_ID /* required */,
Email: '[email protected]',
Username: 'TestUser',
UserType: 'SharedDevice',
};
chime.createUser(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论