Skip to content

The specified item could not be found in the keychain code -25300 #4146

@EllisMatusica

Description

@EllisMatusica

Description

After a recent mac update to macOS 14.1.1, i began receiving the following exception as soon as i run the app on any physical device:

ItemNotFoundException (SecureStorageException(message: Them item was not found in the keychain., recoverySuggestion: An unknown exception occurred. Please take a look at https://github.com/aws-amplify/amplify-flutter/issues to see if there are any existing issues that match your scenario, and file an issue with the details of the bug if there isn't., underlyingException: SecurityFrameworkError: {code: -25300, message: The specified item could not be found in the keychain.}))

This is occurring before my Sign in page loads on app start. The sign in page uses the amplify prebuilt Authenticator Sign in page.
Any guidance is greatly appreciated.

Amplify package versions:
amplify_auth_cognito: ^1.0.0
amplify_flutter: ^1.0.0
amplify_datastore: ^1.0.0-supports-only-mobile
amplify_api: ^1.0.0
amplify_storage_s3: ^1.0.0
amplify_authenticator: ^1.0.0

Flutter version:
3.10.5

Devices tested on:
iPhone 12 running iOS 17.1.1,
iPhone 7 running iOS 14.5.1,
iPhone X running iOS 15.7.

edit: After some more testing I've found that the app crashes in debug mode as soon as the Authenticator widget is built in android and iOS. However on Android i get the error: Unauthenticated access is not supported for this identity pool immediately before sign in page appears. What does work is using flutter run in terminal and running it that way, still not sure what the cause of these errors are.

Categories

  • Analytics
  • API (REST)
  • API (GraphQL)
  • Auth
  • Authenticator
  • DataStore
  • Notifications (Push)
  • Storage

Steps to Reproduce

No response

Screenshots

No response

Platforms

  • iOS
  • Android
  • Web
  • macOS
  • Windows
  • Linux

Flutter Version

3.10.5

Amplify Flutter Version

1.0.0

Deployment Method

Amplify CLI

Schema

No response

Metadata

Metadata

Assignees

Labels

AuthenticatorIssues related to the Authenticator UI Componentpending-maintainer-responsePending response from a maintainer of this repositorypending-triageThis issue is in the backlog of issues to triage

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions