Skip to content

Error: "AuthError: No identity pool configuration found\nRecovery suggestion: Make sure that the amplify configuration passed to Auth plugin is valid" #184

@behzod-rajabov

Description

@behzod-rajabov

Describe the bug

I generated the amplifyconfiguration.json file using Amplify CLI, added auth to it. I made sure that the poolID in the amplifyconfiguration.json file exists in Cloud.
image

I configured Amplify in the AppDelegate file and I got a success result there:

do {
   try Amplify.add(plugin: AWSPredictionsPlugin())
   try Amplify.add(plugin: AWSCognitoAuthPlugin())
   try Amplify.configure()
   print("Amplify successfully configured")
} catch {
   print("Failed to initialize Amplify with \(error)")
}

But I am getting the following error when opening the UI:
"AuthError: No identity pool configuration found\nRecovery suggestion: Make sure that the amplify configuration passed to Auth plugin is valid"
image

How can I fix this problem?

Swift Liveness Version

1.3.3

Xcode version

16.1 (16B40)

OS Version

iOS 18.1

Device

iPhone 16 Pro Max

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions