StoreKit: failed transaction error

I'am in a sandbox mode. There are some account that can buy and some are have error

StoreKit: failed transaction error: Error Domain=SSServerErrorDomain Code=2059 "This item is temporarily unavailable." UserInfo=0x171279480 {NSLocalizedDescription=This item is temporarily unavailable.}, errorCode: 2059


What would be causing this error, From the past it is working.

Replies

1. Facing same bellow issue from last 3 days, didn't change anything in code. Looks like some issue with Apple sandbox enviornment for some specific countries.

"Error Domain=SSServerErrorDomain Code=2059 "This item is temporarily unavailable." UserInfo={NSLocalizedDescription=This item is temporarily unavailable.}"

2. When i create a new tester account with different country, i observed the strange behaviour.

For same product ID when i repeat purchase

1st time purchased was success.

2nd time purchased was fail.

3rd time purchased success

4th time purchased fail and so on..................

Getting following error for fail cases:


"Error Domain=SKErrorDomain Code=0 "Cannot connect to iTunes Store" UserInfo={NSLocalizedDescription=Cannot connect to iTunes Store}"

I don't know about 4ks, but Zulqarnain is the same issue as described in <https://forums.developer.apple.com/thread/69004>


rich kubota - rkubota@apple.com

developer technical support CoreOS/Hardware/MFI

Did you find a resolution for this issue? I am also having the same issue. Any pointers will be much appreciated.

How to fix this problem, and what is the reason of such errors?

@rich


My code is working fine, i was making successful transaction but now I am also getting the same error from today morning in sandbox:


"Error Domain=SSServerErrorDomain Code=2059 "This item is temporarily unavailable." UserInfo={NSLocalizedDescription=This item is temporarily unavailable.}"


Please help me in getting out from this.