Also seeing this while testing, app fails to launch and gets stuck on this:
Error enumerating unfinished transactions for first transaction listener: Error Domain=ASDErrorDomain Code=500 "(null)" UserInfo={client-environment-type=Sandbox, storefront-country-code=USA, NSUnderlyingError=0x600000d95b60 {Error Domain=AMSErrorDomain Code=2 "Finance Authentication Error" UserInfo={NSLocalizedDescription=Finance Authentication Error, AMSURL=https://mzstorekit-sb.itunes.apple.com/inApps/v1/history?guid=E157946179C8&reason=initial, AMSStatusCode=401, NSLocalizedFailureReason=No delegate to perform authentication: <AMSAuthenticateRequest: 0x600000c6a5b0> {
account = josechancho@jose.org (A313B578-45D0-4E93-80A3-D12EB429EF40),
logKey = 251C8AE3,
options = <AMSAuthenticateOptions: 0x600003b20c40> {
AMSAuthenticateOptionsAllowPasswordGeneration = 0,
AMSAuthenticateOptionsAllowSecondaryCredentialSource = 0,
AMSAuthenticateOptionsAllowServerDialogs = 0,
AMSAuthenticateOptionsAuthenticationTypeKey = 1,
AMSAuthenticateOptionsCanMakeAccountActiveKey = 0,
AMSAuthenticateOptionsClientInfo = {length = 987, bytes = 0x62706c69 73743030 d4010203 04050607 ... 00000000 00000341 },
AMSAuthenticateOptionsCredentialSourceKey = 0,
AMSAuthenticateOptionsDebugReason = no dialogResponse in AMSFinanceAuthenticateResponse,
AMSAuthenticateOptionsDelegateAuthEnabledKey = 0,
AMSAuthenticateOptionsEnableAccountCreationKey = 0,
AMSAuthenticateOptionsEphemeralKey = 0,
AMSAuthenticateOptionsForceSyncToPairedWatchKey = 0,
AMSAuthenticateOptionsIgnoreAccountConversion = 0,
AMSAuthenticateOptionsLogKeyKey = 251C8AE3,
AMSAuthenticateOptionsRemoteProxyAuthenticationKey = 0,
AMSAuthenticateOptionsServiceType = 2,
},
}}}}
Error enumerating unfinished transactions: Error Domain=ASDErrorDomain Code=500 "(null)" UserInfo={NSUnderlyingError=0x600000cab0f0 {Error Domain=AMSErrorDomain Code=2 "Finance Authentication Error" UserInfo={NSLocalizedDescription=Finance Authentication Error, AMSURL=https://mzstorekit-sb.itunes.apple.com/inApps/v1/history?guid=E157946179C8&reason=initial, AMSStatusCode=401, NSLocalizedFailureReason=No delegate to perform authentication: <AMSAuthenticateRequest: 0x600000c6c5a0> {
account = josechancho@jose.org (A313B578-45D0-4E93-80A3-D12EB429EF40),
logKey = 251C8AE3,
options = <AMSAuthenticateOptions: 0x600003b2ce00> {
AMSAuthenticateOptionsAllowPasswordGeneration = 0,
AMSAuthenticateOptionsAllowSecondaryCredentialSource = 0,
AMSAuthenticateOptionsAllowServerDialogs = 0,
AMSAuthenticateOptionsAuthenticationTypeKey = 1,
AMSAuthenticateOptionsCanMakeAccountActiveKey = 0,
AMSAuthenticateOptionsClientInfo = {length = 987, bytes = 0x62706c69 73743030 d4010203 04050607 ... 00000000 00000341 },
AMSAuthenticateOptionsCredentialSourceKey = 0,
AMSAuthenticateOptionsDebugReason = no dialogResponse in AMSFinanceAuthenticateResponse,
AMSAuthenticateOptionsDelegateAuthEnabledKey = 0,
AMSAuthenticateOptionsEnableAccountCreationKey = 0,
AMSAuthenticateOptionsEphemeralKey = 0,
AMSAuthenticateOptionsForceSyncToPairedWatchKey = 0,
AMSAuthenticateOptionsIgnoreAccountConversion = 0,
AMSAuthenticateOptionsLogKeyKey = 251C8AE3,
AMSAuthenticateOptionsRemoteProxyAuthenticationKey = 0,
AMSAuthenticateOptionsServiceType = 2,
},
}}}, storefront-country-code=USA, client-environment-type=Sandbox}
Suddenly I see the same. Or rather, I’ve seen the same error for ages, but it hasn’t been a problem and I’ve always assumed it’s related to running my app from Xcode (on a device though). Today the whole app loading seems to freeze for 10 seconds or so causing my other HTTP loads to time out. I’ve cleaned the build cache and restarted the phone.
Will this get fixed or should I start learning StoreKit myself?
- iOS 17.4.1
- iPhone 15
- RevenueCat 4.40.0
- Xcode 15.3
I’m receiving a similar error:
dStoreKit] Error enumerating unfinished transactions: Error Domain=ASDErrorDomain Code=500 "(null)" UserInfo={NSUnderlyingError=0x60000151e220 {Error Domain=AMSErrorDomain Code=2 "Finance Authentication
Error" UserInfo={NSLocalizedDescription=Finance Authentication Error, AMSURL=https://mzstorekit-sb.itunes.apple.com/inApps/v1/history?guid=15253AFC2DAA&reason=initial, AMSStatusCode=401,
NSLocalizedFailureReason=No delegate to perform authentication: <AMSAuthenticateRequest: 0x600000c2eaf0> {
...
There’s a similar thread here
CC @Ryan Glanz
My stack is React Native and Expo. I am not using StoreKit and have a correctly configured In-app purchase key and can successfully test sandbox purchases on a real device via Expo but not within the simulator. Is there a documented solution for this?
I don’t see a posted solution here, and this is the first hit on RC when I post the above error, so I’ll share what I did that made this work: I only get this on the simulator, not on an actual device. If you, like me, are getting this error, try running it on a physical device rather than the simulator.