You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
kotlin-sdk: dashpay.syncState throws Generic FFI error for unmanaged identities (should be null / typed NotFound) #4051
Calling Dashpay.syncState(identityId) for an identity the wallet doesn't manage throws DashSdkError$PlatformWallet$Generic: requested platform_wallet::wallet::identity::state::managed_identity::ManagedIdentity not found
(via TokensNative.getManagedIdentity). Consumers must message-match to distinguish
"not managed" from real failures. Expected: null or a typed NotFound. Live-verified.
Context: found during the Android wallet dashj→Kotlin-SDK migration (dashpay/dash-wallet#1507); live-verified items were reproduced on testnet (Galaxy S22).
Fixed by #4191. Dashpay.syncState now returns null for an identity the wallet does not manage (via translateManagedIdentityNotFoundToZero), and other misses surface as the typed PlatformWallet.NotFound instead of a Generic FFI error. Closing.
Activity
feat(kotlin-sdk): typed SigningKeyUnavailable error for missing signi…
fix(kotlin-sdk): Dashpay reads return null/empty for unmanaged identi…
fix(kotlin-sdk): map platform-wallet NotFound (98) to PlatformWallet.…
feat(kotlin-sdk)!: map platform-wallet code 98 to typed PlatformWalle…
feat(kotlin-sdk)!: map platform-wallet code 98 to typed PlatformWalle…
feat(kotlin-sdk)!: map platform-wallet code 98 to typed PlatformWalle…
feat(kotlin-sdk)!: map platform-wallet code 98 to typed PlatformWalle…
feat(kotlin-sdk)!: map platform-wallet code 98 to typed PlatformWalle…
HashEngineering commentedon Nov 9, 2026
Fixed by #4191.
Dashpay.syncStatenow returnsnullfor an identity the wallet does not manage (viatranslateManagedIdentityNotFoundToZero), and other misses surface as the typedPlatformWallet.NotFoundinstead of a Generic FFI error. Closing.