In-App Provisioning Internal Server Error 500

We are implementing In-App Provisioning functionality for our Bank but there is always 500 Internal Server Error respond by Apple server once we tried to add card to apple wallet.

Our code

let request = PKAddPaymentPassRequest()
        request.activationData = try decodeBase64(payload.activationDataText, field: "activationDataText")
        request.encryptedPassData = try decodeBase64(payload.encryptedDataText, field: "encryptedDataText")
        request.ephemeralPublicKey = try decodeBase64(payload.ephemeralPublicKeyText, field: "ephemeralPublicKeyText")
        return request

Because of fPanId is not required so we are not pass it to Apple server and that field generated once the card already added to wallet.

Please help us investigate the issue, thanks!

FeedbackId 24065847 (In-App Provisioning 500 Internel Error)

In-App Provisioning Internal Server Error 500
 
 
Q