Troubleshooting Amazon Chime SDK identity and access
Use the following information to help you diagnose and fix common issues that you might encounter when working with the Amazon Chime SDK and IAM.
Topics
I am not authorized to perform an action in the Amazon Chime SDK
If you receive an error that you're not authorized to perform an action, your policies must be updated to allow you to perform the action.
The following example error occurs when the mateojackson
IAM user
tries to use the console to view details about a fictional
resource but doesn't
have the fictional my-example-widget
chime:
permissions.GetWidget
User: arn:aws:iam::123456789012:user/mateojackson is not authorized to perform: chime:GetWidget
on resource:my-example-widget
In this case, the policy for the mateojackson
user must be updated to allow access to the
resource by using the
my-example-widget
chime:
action.GetWidget
If you need help, contact your AWS administrator. Your administrator is the person who provided you with your sign-in credentials.
I am not authorized to perform iam:PassRole
If you receive an error that you're not authorized to perform the
iam:PassRole
action, then you must contact your administrator for
assistance. Your administrator is the person that provided you with your user name and
password. Ask that person to update your policies to allow you to pass a role to the Amazon Chime SDK.
Some AWS services allow you to pass an existing role to that service, instead of creating a new service role or service-linked role. To do this, you must have permissions to pass the role to the service.
The following example error occurs when an IAM user named marymajor
tries to use the service to perform an action in the Amazon Chime SDK. However, the
action requires the service to have permissions granted by a service role. Mary does not
have permissions to pass the role to the service.
User: arn:aws:iam::123456789012:user/
marymajor
is not authorized to perform: iam:PassRole
In this case, Mary asks her administrator to update her policies to allow her to
perform the iam:PassRole
action.