jonsaw/amazon-cognito-identity-dart

Failed host lookup with Sample Code

Closed this issue · 0 comments

Hi there,

trying to implement your aws package to my app. Using the sample code with my aws credentials throws error "'An unknown client error occured';"

"'An unknown client error occured';" is thrown due to following error:
'cognito-idp.us-east-1.amazonaws.com';

https://cognito-idp.us-east-1.amazonaws.com is the official aws endpoint for cognito in my region.

Anyone facing the same problem or has a clue how to fix it?

Thank you so much!

EDIT: I don't know why but after reopening Android Studio it worked. Magic ...