Skip to main content

Error enumerating unfinished transactions for first transaction listener: Error Domain=ASDErrorDomain Code=500 "(null)" UserInfo={client-environment-type=Sandbox, storefront-country-code=GBR, NSUnderlyingError=0x600000c02dc0 {Error Domain=AMSErrorDomain Code=2 "Finance Authentication Error" UserInfo={NSLocalizedDescription=Finance Authentication Error, AMSURL=https://mzstorekit-sb.itunes.apple.com/inApps/v1/history?guid=7666DF87F208&reason=initial, AMSStatusCode=401, NSLocalizedFailureReason=No delegate to perform authentication: <AMSAuthenticateRequest: 0x600000c0f4b0> {

  account = jerichomiles6@gmail.com (78985344-F6FD-42AD-BCEB-DF36B39D9837),

  logKey = 1379CD2F,

  options = <AMSAuthenticateOptions: 0x600003b408c0> {

  AMSAuthenticateOptionsAllowPasswordGeneration = 0,

  AMSAuthenticateOptionsAllowSecondaryCredentialSource = 0,

  AMSAuthenticateOptionsAllowServerDialogs = 0,

  AMSAuthenticateOptionsAuthenticationTypeKey = 1,

  AMSAuthenticateOptionsCanMakeAccountActiveKey = 0,

  AMSAuthenticateOptionsClientInfo = {length = 983, bytes = 0x62706c69 73743030 d4010203 04050607 ... 00000000 0000033d },

  AMSAuthenticateOptionsCredentialSourceKey = 0,

  AMSAuthenticateOptionsDebugReason = no dialogResponse in AMSFinanceAuthenticateResponse,

  AMSAuthenticateOptionsDelegateAuthEnabledKey = 0,

  AMSAuthenticateOptionsEnableAccountCreationKey = 0,

  AMSAuthenticateOptionsEphemeralKey = 0,

  AMSAuthenticateOptionsForceSyncToPairedWatchKey = 0,

  AMSAuthenticateOptionsIgnoreAccountConversion = 0,

  AMSAuthenticateOptionsLogKeyKey = 1379CD2F,

  AMSAuthenticateOptionsRemoteProxyAuthenticationKey = 0,

  AMSAuthenticateOptionsServiceType = 2,

},

}}}}

 

The offerings load fine but it’s impossible to make a successful purchase. I’m using flutter and testing on ios using a sandbox environment in xcode with storekit.

Solving internally via support ticket, will update with resolution here


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}


Responded in wrong window, apologies.


Same error is happening to me.

I am developing with expo.

It work in a real device but it doesn’t work in a simulator.

And I found  a following post.

https://www.delasign.com/blog/xcode-store-kit-fix-finance-authentication-error/

But it's difficult to adapt it because the construction is totally different.


Same error is happening to me.

I am developing with Swift, RevenueCat version 4.39.0 and Xcode version 15.0 (15A240d)


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

Solving internally via support ticket, will update with resolution here

Was there ever a solution to this?


Reply