Could not switch roles using the provided information. Please check your settings and try again. If you continue to have problems, contact your administrator.
If you get this error than there is a big probability the user has no permission to assume a role. Add a new policy to user to allow assuming roles. check the below article:
if it doesn't work leave a comment.