Serverless-stack-com: Can't Create Cognito Test User

Created on 7 May 2017  路  3Comments  路  Source: AnomalyInnovations/serverless-stack-com

$ aws cognito-idp sign-up \

--region us-east-1 \
--client-id 5cj9ag4nvskjkv0dg3sade5fd5 \
--username [email protected] \
--password Passw0rd! \
--user-attributes Name=email,[email protected]

An error occurred (ResourceNotFoundException) when calling the SignUp operation: User pool client 5cj9ag4nvskjkv0dg3sade5fd5 does not exist.

So ive check that the client id number is the number im getting from "app client id:" under user pools. Ive double checked that my aws configure credentials are correct with my IAM user keys and secret key. Im at a loss for why im getting this error. Any ideas?

I'm running windows 10.

Most helpful comment

@jayair
I was entering us-east-1 but my pool is set to us-east-2. Although i'm not able to confirm this fixed it im fairly confident that it will work when i get home so im going to close. Thank you for the suggestion that didnt occur to me to check that. thank you thank you thank you!

All 3 comments

@willybeans one issue could be the region. Can you verify the region for your User Pool?

@jayair
I was entering us-east-1 but my pool is set to us-east-2. Although i'm not able to confirm this fixed it im fairly confident that it will work when i get home so im going to close. Thank you for the suggestion that didnt occur to me to check that. thank you thank you thank you!

Changing the location to us-east-2 solved my problem.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jayair picture jayair  路  11Comments

jayair picture jayair  路  12Comments

jayair picture jayair  路  21Comments

jayair picture jayair  路  20Comments

jayair picture jayair  路  4Comments