ECognitoIdentityInvalidIdentityPoolConfigurationException
Class in AWS.CognitoIdentity
Either the identity pool has no appropriate role configured. or AWS STS returned an error response to the request to assume the role from the identity pool.
Your role trust policy must grant AssumeRoleWithWebIdentity permissions to cognito-identity.amazonaws.com.