- Newest
- Most votes
- Most comments
This appears to have remedied itself. Everything is working now although I did nothing.
The "Failed to fetch user pools" error you're experiencing could be related to insufficient IAM permissions for your user or role to access Amazon Cognito resources. This type of access issue can manifest as networking errors in the console.
To resolve this, you should verify that your IAM user or role has the appropriate permissions to view and manage Cognito resources. You can attach the AmazonCognitoPowerUser IAM policy to your IAM user or role by following these steps:
- Open the IAM console
- Navigate to either Users or Roles depending on what you're using
- Select your IAM user or role
- Go to the Permissions tab and expand the Add permissions section
- Choose "Attach existing policies directly"
- Search for "AmazonCognitoPowerUser"
- Select the checkbox for the AmazonCognitoPowerUser policy
- Review and add the permissions
If you prefer more restrictive permissions, you can create a custom IAM policy that grants only the specific Cognito permissions you need rather than using the full power user policy.
If the issue persists after verifying your IAM permissions, it could indicate a broader connectivity or service issue, but permission problems are a common cause of these types of errors when accessing Cognito through the console.
Sources
Resolve "Access Denied" error in Cognito user pool creation | AWS re:Post

This has nothing to do with permissions. It is/was clearly some kind of network issue.