"Unexpected error" returned from PKPassLibrary.activate()

Hi, We have a bank app which can activate tokenized payment cards (in Requires Activation status) on Apple devices. In my case some customers tried to activate their card token on their Apple Watch. Our card system gathered all the required card data with the PNO and sent them to our app. Our app called the PKPassLibrary.activate() method, but got back the Swedish localizedDescription "Oväntat fel" which means "Unexpected error" in English. We checked our card system logs and contacted our PNO, both found no issue and no explanation to the unexpected error. How can we identify the issue here? Can we somehow find a more detailed error log from Apple Server?

Best regards, Adrian Lui

Should I submit a support request to Apple for this?

HI @adrian-lui,

Please see the following post so I can begin my investigation into your In-App Provisioning issue:

Gathering Required Information for Troubleshooting Apple Pay In-App Provisioning or In-App Verification Issues

https://developer.apple.com/forums/thread/762893

Once you've completed the steps above, please respond here with the Feedback ID.

Cheers,

Paris X Pinkney |  WWDR | DTS Engineer

"Unexpected error" returned from PKPassLibrary.activate()
 
 
Q