Question

ERROR: 🍎‼️ There was a problem with the App Store. Code=100 "Authentication Failed"

  • 6 January 2022
  • 1 reply
  • 119 views

Badge

My purchases are successful on real devices. But I am getting the error log in the simulator. This results in a rejection by the review team. What's the solution? 

 

(I created and installed the certificate in the document for test device purchases.)

 

Here is my LOG

 

2022-01-07 00:49:54.151515+0300 ScoutAppFUT21[7770:194248] [boringssl] boringssl_metrics_log_metric_block_invoke(151) Failed to log metrics

2022-01-07 00:51:25.634886+0300 ScoutAppFUT21[7770:194001] [Purchases] - DEBUG: ℹ️ applicationDidBecomeActive

2022-01-07 00:51:26.017855+0300 ScoutAppFUT21[7770:196034] [boringssl] boringssl_metrics_log_metric_block_invoke(151) Failed to log metrics

2022-01-07 00:51:26.320790+0300 ScoutAppFUT21[7770:194001] [Purchases] - DEBUG: ℹ️ Vending PurchaserInfo from cache.

*********User is not Premium*********

2022-01-07 00:51:26.344411+0300 ScoutAppFUT21[7770:194001] [Purchases] - DEBUG: ℹ️ Vending Offerings from cache

User is not yet Premium

2022-01-07 00:51:27.356642+0300 ScoutAppFUT21[7770:194001] [Purchases] - DEBUG: ℹ️ makePurchase

2022-01-07 00:51:27.359028+0300 ScoutAppFUT21[7770:194001] [Purchases] - DEBUG: 💰 Purchasing product - fut21_scout_premium_monthly

2022-01-07 00:51:27.360331+0300 ScoutAppFUT21[7770:194001] [Purchases] - DEBUG: ℹ️ PaymentQueue updatedTransaction: fut21_scout_premium_monthly (null) ((null)) (null) - 0

2022-01-07 00:51:27.565189+0300 ScoutAppFUT21[7770:194248] [boringssl] boringssl_metrics_log_metric_block_invoke(151) Failed to log metrics

2022-01-07 00:51:30.977887+0300 ScoutAppFUT21[7770:194737] [connection] nw_read_request_report [C6] Receive failed with error "Operation timed out"

2022-01-07 00:51:30.979270+0300 ScoutAppFUT21[7770:194737] [connection] nw_read_request_report [C6] Receive failed with error "Operation timed out"

2022-01-07 00:51:30.980568+0300 ScoutAppFUT21[7770:194737] [connection] nw_read_request_report [C6] Receive failed with error "Operation timed out"

2022-01-07 00:51:52.526353+0300 ScoutAppFUT21[7770:194001] [Purchases] - DEBUG: ℹ️ applicationDidBecomeActive

2022-01-07 00:51:53.901490+0300 ScoutAppFUT21[7770:196457] [boringssl] boringssl_metrics_log_metric_block_invoke(151) Failed to log metrics

2022-01-07 00:52:03.688022+0300 ScoutAppFUT21[7770:194001] [Purchases] - DEBUG: ℹ️ applicationDidBecomeActive

2022-01-07 00:52:05.058302+0300 ScoutAppFUT21[7770:196455] <SKPaymentQueue: 0x6000038007c0>: Payment completed with error: Error Domain=ASDErrorDomain Code=500 "Unhandled exception" UserInfo={NSUnderlyingError=0x6000034f6370 {Error Domain=AMSErrorDomain Code=100 "Authentication Failed" UserInfo={NSLocalizedFailureReason=The verify credentials call failed., NSLocalizedDescription=Authentication Failed, NSUnderlyingError=0x6000034f5140 {Error Domain=AMSErrorDomain Code=15 "An unknown error occurred. Please try again." UserInfo={NSLocalizedDescription=An unknown error occurred. Please try again.}}}}, NSLocalizedFailureReason=An unknown error occurred, NSLocalizedDescription=Unhandled exception}

2022-01-07 00:52:05.062123+0300 ScoutAppFUT21[7770:194001] [Purchases] - DEBUG: ℹ️ PaymentQueue updatedTransaction: fut21_scout_premium_monthly (null) (Error Domain=SKErrorDomain Code=0 "UNKNOWN_ERROR" UserInfo={NSLocalizedDescription=UNKNOWN_ERROR, NSUnderlyingError=0x6000034f6070 {Error Domain=ASDErrorDomain Code=500 "Unhandled exception" UserInfo={NSUnderlyingError=0x6000034f6370 {Error Domain=AMSErrorDomain Code=100 "Authentication Failed" UserInfo={NSLocalizedFailureReason=The verify credentials call failed., NSLocalizedDescription=Authentication Failed, NSUnderlyingError=0x6000034f5140 {Error Domain=AMSErrorDomain Code=15 "An unknown error occurred. Please try again." UserInfo=0x600003a76a80 (not displayed)}}}, NSLocalizedFailureReason=An unknown error occurred, NSLocalizedDescription=Unhandled exception}}}) (null) - 2

2022-01-07 00:52:05.062415+0300 ScoutAppFUT21[7770:194001] [Purchases] - ERROR: 🍎‼️ There was a problem with the App Store.

2022-01-07 00:52:05.062506+0300 ScoutAppFUT21[7770:194001] [Purchases] - DEBUG: 💰 Finishing transaction fut21_scout_premium_monthly (null) ((null))

2022-01-07 00:52:05.062845+0300 ScoutAppFUT21[7770:194001] [Purchases] - DEBUG: ℹ️ PaymentQueue removedTransaction: fut21_scout_premium_monthly (null) ((null) Error Domain=SKErrorDomain Code=0 "UNKNOWN_ERROR" UserInfo={NSLocalizedDescription=UNKNOWN_ERROR, NSUnderlyingError=0x6000034f6070 {Error Domain=ASDErrorDomain Code=500 "Unhandled exception" UserInfo={NSUnderlyingError=0x6000034f6370 {Error Domain=AMSErrorDomain Code=100 "Authentication Failed" UserInfo={NSLocalizedFailureReason=The verify credentials call failed., NSLocalizedDescription=Authentication Failed, NSUnderlyingError=0x6000034f5140 {Error Domain=AMSErrorDomain Code=15 "An unknown error occurred. Please try again." UserInfo=0x600003a76a80 (not displayed)}}}, NSLocalizedFailureReason=An unknown error occurred, NSLocalizedDescription=Unhandled exception}}}) {

    NSLocalizedDescription = "UNKNOWN_ERROR";

    NSUnderlyingError = "Error Domain=ASDErrorDomain Code=500 \"Unhandled exception\" UserInfo={NSUnderlyingError=0x6000034f6370 {Error Domain=AMSErrorDomain Code=100 \"Authentication Failed\" User


1 reply

Userlevel 4
Badge +8

Hey @Baran!

These types of errors are consistent with what we typically hear about in the sandbox environment, which is notoriously unstable and flaky. Even worse is that Apple’s reviewers use this unstable environment for App Review, which can cause issues when the reviewer tests in-app purchases like subscriptions. If the reviewer is encountering this issue when reviewing, I would recommend re-submitting your app for review.

Some other possible solutions to check if you’re encountering this in your own testing:

  • Ensure you’re using a sandbox account for testing (docs)
  • Ensure you’ve selected a duration for the product in App Store Connect (link)

Reply