StoreKit - An unknown error occurred code=0

Hey guys, we are using StoreKit - SKProductsRequest to fetch sku info from Apple.

But recently An unknown error occurred code = 0 the issue was spiking up since 2021 Dec 5th. Here is the request start code.

let request = SKProductsRequest(productIdentifiers: Set(skus))
request.delegate = self
request.start()

The error is raised from the delegate function:

func request(_ request: SKRequest, didFailWithError error: Error) {}

Over 90% of it happened to iOS 15.x users. Is there anyone know what's going on? or facing the same issue.

I also encountered the same issue when using StoreKit 2, and I'm not sure under what circumstances this 'unknown' error will be thrown. I don't know how to explain it to our app's users.

StoreKit - An unknown error occurred code=0
 
 
Q