Same here, app rejected by App Review twice in 3 days. Unable to reproduce error until today:
Error Domain=SKErrorDomain Code=0 "An unknown error occurred" UserInfo={NSLocalizedDescription=An unknown error occurred, NSUnderlyingError=0x2812264f0 {Error Domain=ASDErrorDomain Code=500 "Unhandled exception" UserInfo={NSUnderlyingError=0x2812252f0 {Error Domain=AMSErrorDomain Code=100 "Authentication Failed" UserInfo={NSLocalizedFailureReason=The verify credentials call failed., NSLocalizedDescription=Authentication Failed, NSUnderlyingError=0x281225590 {Error Domain=AMSErrorDomain Code=301 "Invalid Status Code" UserInfo=0x2809d01c0 (not displayed)}}}, NSLocalizedFailureReason=An unknown error occurred, NSLocalizedDescription=Unhandled exception}}}
Happened in Sandbox and TestFlight (Release build) with new user without any prior purchases.
NOTE: Upon re-launching the app, the error did not occur. Seems a call to SKReceiptRefreshRequest is causing the error, although only on first launch and input of Apple Id credentials. Also, anytime Apple ID credentials are required the console prints:
[BackgroundTask] Background Task 8 ("SKReceiptRefreshRequest"), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(_:) for your task in a timely manner to avoid this.
Which makes sense seeing as app goes in background to give way to Apple Id credentials pop-up. But, even while calling refresh receipt as a named background task and ending it upon completion, another background task for SKReceiptRefreshRequest is created automatically and cannot be ended properly. Not sure if this has anything to do with the original error, perhaps a submission for another thread.
Anyhow, any help on this would be greatly appreciated.