disfordottie / insaneAppPurchaser

Purchase iOS apps in bulk
GNU General Public License v3.0
120 stars 11 forks source link

List of Errors #5

Open FaisalBiyari opened 1 month ago

FaisalBiyari commented 1 month ago

I'm not sure if a list of all errors encountered while using the script mattered to you, or if you already have this available, but I thought it would possibly be useful to you.

• purchasing paid apps is not supported • app not found • failed to purchase item with param 'STDQ': license already exists • failed to purchase item with param 'STDQ': failed to purchase app • failed to purchase item with param 'STDQ': We are temporarily unable to process your request. • request failed: failed to unmarshal json: invalid character '<' looking for beginning of value • request failed: request failed: Get "https://itunes.apple.com/lookup?bundleId=**XXRest.of.LinkXX**\": failed to make round trip: dial tcp: lookup itunes.apple.com: no such host

If this is useful to you, please let me know and I will post any new ones I encounter and notice here.

disfordottie commented 1 month ago

Thanks, thats very helpful, if you could please send more as you get them that would be great.

I only had a few of those and just put everything else into a "rare errors" category. So it would be good to improve the categories.

dootskyre commented 1 month ago

I keep getting Insane-iOS-App-Purchaser.sh: line 191: syntax error near unexpected token `<'

FaisalBiyari commented 1 month ago

I keep getting Insane-iOS-App-Purchaser.sh: line 191: syntax error near unexpected token `<'

I think you are running the script using "sh" command. Run the script directly "./Insane-iOS-App-Purchaser.sh" if you cd to the location the file is at.

disfordottie commented 1 month ago

I just drag it in with the full path, you only need the . If your in the same folder

FaisalBiyari commented 1 month ago

New Error: • failed to reoslve the country code: country code mapping for store front () was not found (Spelling error is part of the error "reoslve")

I found today that my account was locked. I unlocked it with Apple's normal process now, but during the locked period, all purchase attempts (for almost 24 hours) had this same error. I tried to resume, but the same error continued to occur. I then re-authenticated with ipatools "ipatool auth login -e " and tried again, and the error stopped, and I was able to resume successfully.

I think that if this error occurred, the script should pause with a message like "Unlock Apple ID, then re-authenticate account using ipatools with the command "ipatool auth login -e " then press any button to continue" or something similar. I re-authenticated on a different terminal window.

disfordottie commented 1 month ago

Thanks for the info, do you know what you might’ve done to cause it getting locked? Which list were you doing?

I’ll definitely add a pause of sorts (for this and no wifi) I should be able to make it prompt you to re auth. Thanks for finding all these errors

FaisalBiyari commented 1 month ago

I understand that you suspect the account was locked because of the purchases, but I don't think so. Unfortunately this happens to me frequently, for reasons as silly as moving my sim card from iPhone to iPhone...

However, just keep record of it because I actually don't know the cause this time around. I was doing the 1.5 million list. It was processing line number: 95241.

I am happy I can help where I can. I appreciate you and many others doing so much for the community. It's the least I can do to give back 🙏🏻

FaisalBiyari commented 1 month ago

New Error: • failed to purchase item with param 'STDQ': Your password has changed.

My account was locked again, this time requiring a password change. I used the same password, but this error kept happening indefinitely. I needed to re-authenticate with ipatools. It worked after re-authentication.

Also, for the first lock, it wasn't on the original run of the 1.5 million list. Here's more specific details:

Processing line number: 95239 com.gloding.MathDrill 12:19PM INF success=true Processing line number: 95240 sa.sauditourism.iPhone 12:19PM ERR error="failed to purchase item with param 'STDQ': license already exists" success=false Processing line number: 95241 cr.Technology.GuidaCampagna 12:19PM ERR error="failed to reoslve the country code: country code mapping for store front () was not found" success=false Processing line number: 95242 com.brilliantquotes 12:19PM ERR error="failed to reoslve the country code: country code mapping for store front () was not found" success=false

disfordottie commented 1 month ago

Thanks again for the info, i will add all this. Thanks for testing aswell, with the info youve given me i should be able to make it so purchasing the big list goes pretty flawlessly

FaisalBiyari commented 1 month ago

Attempting to purchase an app manually using the Apple ID (tested on an iPhone) may lead to an error while the script is running.

Multiple attempts (usually two) leads to successful purchase. See screenshot for reference. IMG_3340

A warning might be in order when running the script.

disfordottie commented 1 month ago

Does attempting a purchase on your phone interfere with the script?

FaisalBiyari commented 1 month ago

I attempted to purchase/get 4-6 apps on the app store, on my iPhone, then I got the following error in the script (Once only):

• failed to purchase item with param 'STDQ': We are temporarily unable to process your request.

I recall that's the same error when running multiple instances of the script. It seems that there's a limit from Apple's side to process purchase requests.

On a similar topic, I was trying to purchase music from the iTunes store last night, and it kept failing. (including having to verify my payment method, which showed a failed message, but seem to have passed, because I did not need to verify again, even though it said it failed) I had to stop the script to complete my purchase from iTunes (on my iPhone)