Aws-sdk-net: Cognito identityPoolId fails to satisfy regex.

Created on 29 Aug 2016  路  2Comments  路  Source: aws/aws-sdk-net

I have a weird problem. Always when I try to use Cognito credentials I get 'identityPoolId' failed to satisfy constraint: Member must satisfy regular expression pattern: [\w-]+:[0-9a-f-]+. The poolId I get from AWS console does not match that regex. My poolId is something like us-east-1_xxxxxx.

Is the SDK incompatible with the current AWS Cognito API version or something?

I'm using the latest SDK for Unity.

Most helpful comment

Ah. Looks like I was using the _User PoolId_ instead of _Identity PoolId_. The SDK works fine.

All 2 comments

Ah. Looks like I was using the _User PoolId_ instead of _Identity PoolId_. The SDK works fine.

:-1:

Was this page helpful?
0 / 5 - 0 ratings