Error Domain=PKPassKitErrorDomain Code=2

This error occurs in Apple Pay Wallet In-App Provisioning Flow for Credit / Debit Cards

When the data received from the PNO (Visa) is passed to PKAddPaymentPassRequest this error is seen in addPaymentPassViewController, in the finalize stage.

Docs provide no clue as to what could be wrong.

iOS 18.2.1

XCode 15.2

Error description mentions "unsupportedVersionError"

  • Is the pass version not supported?
  • Is the wallet version not supported?
  • Is it an app implementation error or error in the data received from the PNO?

We are also logging this error quite often and have no clue what might be causing it. Similar circumstances - Visa cards. Documentation is almost non-existent. We reached out to Apple and they responded saying that this error may be thrown for many reason. Not very helpful.

Error Domain=PKPassKitErrorDomain Code=2
 
 
Q