secure_store_unavailable
Sign-in couldn't save the session token, so it throws instead of returning a session that would be lost on the next launch.
Status: thrown by the SDK in your app (no HTTP status) · Client-side
What happened
Sign-in couldn't save the session token, so it throws instead of returning a session that would be lost on the next launch. All three of the SDK's stores raise it:
BrowserTokenStore(@gemmein/sdk): the browser refused thelocalStoragewrite (private mode past its quota, site data blocked, a sandboxed iframe).@gemmein/sdk/expo:expo-secure-storeis not installed, or the device refused the write.- Swift
KeychainTokenStore: the Keychain refused, and the OSStatus is in the message.-34018is an unsigned build with no keychain access group, so sign the app (ad-hoc is enough).
err.cause (in Swift, in the message). Reads and clears stay lenient on all three: an unreadable store means signed out, never a crash. The session itself is valid, so an app that should keep running catches this one code and rebuilds its client with a MemoryTokenStore. See MobileRead more
secure_store_unavailablein the error table- SDK reference
- Changelog: when codes were added or removed
Was this page helpful?
Thanks for telling us.
Thanks for telling us.
Last updated