Some of our users(6 out of 30) cannot redeem app promo code to get our app.

Summary: Some of our user will get "Cannot connect to iTunes Store" prompt when they try to redeem app promo code. Our user who got this problem always can reproduce this bug. The user who can successfully redeem promo code will successfully redeem App promo code.


Steps to Reproduce:

1. Open the App Store on iPhone.

2. Scroll down to pick Redeem button

3. Input Apple ID.

4. Tap "You can also enter your code manually"

5. Input the redeem code.

6. Tap Redeem button.


Expected Results: We expecting every one who get the redeem code can fetch our app for free.


Actual Results: user will get "Cannot connect to iTunes Store" prompt Version: iOS 8.3 / iOS 8.4


Notes: The problem iPhones have registered iCloud and they can purchase free app in App Store. Configuration: Default configuration like other people who can successful redeem app.


https://youtu.be/Vu3fHgw_bh4

https://youtu.be/y8N9Ye9Js5g

These video can show what really happened.


In the console log:




Jul 31 12:25:37 Meinrad-Formosas-iP6 wifid[37] <Notice>: WiFi:[460002337.142297]: Already connected to ABCD.

Jul 31 12:25:38 Meinrad-Formosas-iP6 itunesstored[2635] <Warning>: <RedeemCodesOperation: 0x156b87610>{name = '(null)'} caught *** setObjectForKey: object cannot be nil (key: 933114235) exception with stack trace: (0x1866302d8 0x1982fc0e4 0x186519428 0x10012c9f0 0x10012b410 0x1967920c4 0x19679143c 0x1874581cc 0x187519f28 0x198979954 0x1989840a4 0x19897ca5c 0x198986318 0x198987c4c 0x198b5922c 0x198b58ef0)

Jul 31 12:25:39 Meinrad-Formosas-iP6 kernel[0] <Notice>: IOReturn IOAsynchronousScheduler::checkAndQueueArgument(IOAsynchronousScheduler::ArgumentEntry *): max argument count (128) reached. Notify a few first.

Jul 31 12:25:41 Meinrad-Formosas-iP6 locationd[61] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0

Jul 31 12:25:43 Meinrad-Formosas-iP6 itunesstored[2635] <Warning>: <RedeemCodesOperation: 0x156b3bdd0>{name = '(null)'} caught *** setObjectForKey: object cannot be nil (key: 933114235) exception with stack trace: (0x1866302d8 0x1982fc0e4 0x186519428 0x10012c9f0 0x10012b410 0x1967920c4 0x19679143c 0x1874581cc 0x187519f28 0x198979954 0x1989840a4 0x19897ca5c 0x198986318 0x198987c4c 0x198b5922c 0x198b58ef0)

Jul 31 12:25:43 Meinrad-Formosas-iP6 wifid[37] <Notice>: WiFi:[460002343.829722]: Client itunesstored set type to normal application

Jul 31 12:25:43 Meinrad-Formosas-iP6 wifid[37] <Notice>: WiFi:[460002343.829997]: __WiFiManagerSetEnableState: state TRUE, manager->enable.setting TRUE, manager->unlockedSinceBoot TRUE

Jul 31 12:25:43 Meinrad-Formosas-iP6 wifid[37] <Notice>: WiFi:[460002343.830324]: BG Application: Not Present, BG Daemon: Present. Daemons: lockdownd networkd apsd

Jul 31 12:25:44 Meinrad-Formosas-iP6 locationd[61] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0

Jul 31 12:25:46 Meinrad-Formosas-iP6 mstreamd[5655] <Notice>: (Note ) mstreamd: mstreamd starting up.

Jul 31 12:25:46 Meinrad-Formosas-iP6 mstreamd[5655] <Notice>: (Note ) PS: Media stream daemon starting...

I have the same problem with my promo codes, I have tested 2 and I always get the error message:

"Failure

Cannot connect to iTunes Store"

Did you find a way to fix this problem ? I need to start my promotion asap 😢

The "Cannot connect to the iTunes Store" error isn't at all related to the promo codes. I was running to that earlier this morning trying to purchase a free app from the store using the normal process.


The solution is the usual "Take two aspirin and try again tomorrow, because something you can't fix is currently broken."

For people who search this question in the future - the fix for me on this error was removing older TestFlight builds - https://discussions.apple.com/thread/7006206

This works!

Some of our users(6 out of 30) cannot redeem app promo code to get our app.
 
 
Q