aws-samples / aws-samples/amazon-chime-sdk

Server error: Not authorized to call Chime SDK with Account Id

Open
#359 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
116
Forks
133
PR merge metrics
No merged PRs in 30d

Description

**Demo**
[Specify the name of the demo that you encountered the bug.](https://github.com/aws-samples/amazon-chime-sdk/tree/main/apps/meeting)

**Describe the bug**
Server error: Not authorized to call Chime SDK with Account Id while I'm using access key with IAM user who has "Admin" role

**To Reproduce**
Steps to reproduce the behavior:
1. Set up aws configure with access key using cli "aws configure"
2. Did the npm install
3. Did npm start
4. Create an meetingID with my chime account
5. Join the meeting ID from 0.0.0.0:900
6. Then error appeared

**Expected behavior**
Should be join the meeting since I can join the meetingID from https://app.chime.aws/ like a guest

**Screenshots**
If applicable, add screenshots to help explain your problem.
![image](https://github.com/aws-samples/amazon-chime-sdk/assets/125671399/a0b56408-29f5-4bca-a9ac-c8b4fc8a3275)

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser chrome
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Research direction

The demo is in apps/meeting; start by checking the AWS CLI credentials configured before npm start and reproduce the authorization error after joining a meeting ID. Compare the account and IAM permissions used by the demo with the account that created the meeting; done means the local demo joins the meeting without the server authorization error.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
authorization, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.