When our app attempts to initialize the iOS store we get the following error intermittently. After 4 seconds it’ll try again, it’ll sometimes succeed and sometimes fail.
We have tested multiple iOS devices at multiple locations and we still get the same intermittent problem.
2020-05-25 15:29:20.852746+1000 picotanks[472:26213] UnityIAP: SKProductRequest::didFailWithError: 301, Error Domain=AMSErrorDomain Code=301 “Invalid Status Code” UserInfo={AMSStatusCode=502, NSLocalizedDescription=Invalid Status Code, NSLocalizedFailureReason=The response has an invalid status code}. Unity Purchasing will retry in 4 seconds
2020-05-25 15:29:25.088922+1000 picotanks[472:26090] UnityIAP: Requesting product data…
2020-05-25 15:29:25.573702+1000 picotanks[472:26208] UnityIAP: SKProductRequest::didFailWithError: 301, Error Domain=AMSErrorDomain Code=301 “Invalid Status Code” UserInfo={AMSStatusCode=502, NSLocalizedDescription=Invalid Status Code, NSLocalizedFailureReason=The response has an invalid status code}. Unity Purchasing will retry in 8 seconds
Unity 2019.2.21f1
com.unity.purchasing v2.0.6
com.unity.analytics v3.3.2
I have this issue too, any solution?
Probably best to ask in Unity Services - Unity Discussions , I’ll reply. There may be other developers seeing the same thing.