How to resolve an unknown error for restoring subscriptions on macOS Monterey?

While reviewing our app to prepare for macOS Monterey, I noticed an error when restoring purchased subscriptions. The error is issued via the following log method:

- (void)paymentQueue:(SKPaymentQueue*)queue restoreCompletedTransactionsFailedWithError:(NSError*)error

The error is the following:

Error Domain=SKErrorDomain Code=0 "UNKNOWN_ERROR" UserInfo={NSLocalizedDescription=UNKNOWN_ERROR, NSUnderlyingError=0x600003c9b690 {Error Domain=ASDErrorDomain Code=950 "Unhandled exception" UserInfo={NSLocalizedDescription=Unhandled exception, NSLocalizedFailureReason=An unknown error occurred}}}

Is this error known? Has the API for macOS Monterey changed? How can we solve that issue?

Have you found a solution for this? Might it just be that the sandbox environment is offline?

How to resolve an unknown error for restoring subscriptions on macOS Monterey?
 
 
Q