majd / ipatool

Command-line tool that allows searching and downloading app packages (known as ipa files) from the iOS App Store
MIT License
5.34k stars 466 forks source link

ERR error="failed to reoslve the country code: country code mapping for store front () was not found" #227

Closed veanome closed 3 months ago

veanome commented 9 months ago

What happened?

ipatool suddenly will not download, search, or purchase anything since I keep running into this country code mapping error.

Version

2.1.3

Relevant log output

username@MacBook-Air ~ % ipatool auth login -e my.email@domain.com
11:30AM INF enter password:
11:30AM INF email= name=" " success=true
username@MacBook-Air ~ % ipatool download --bundle-identifier co.application.here --output /Users/username/Desktop/App.ipa
ERR error="failed to reoslve the country code: country code mapping for store front () was not found"
marcoizzo commented 9 months ago

I face a similar issue

majd commented 8 months ago

Is this issue still occurring?

KhoraLee commented 8 months ago

Is this issue still occurring?

Yes, it still occurs

image
veanome commented 8 months ago

Yes the issue is still occurring. I tried it again just a few moments ago and get the same error.

hzlzh commented 8 months ago

same here

majd commented 8 months ago

I am unable to reproduce this issue so I will need your help to debug this. Have you used the Apple ID with the App Store before attempting to use it with ipatool?

KhoraLee commented 8 months ago

I am unable to reproduce this issue so I will need your help to debug this. Have you used the Apple ID with the App Store before attempting to use it with ipatool?

I've removed ipatool related item in Keychain Access and after re-login it works. Just re-login correctly made it works

Looks like this error happens when login is not done correctly. Login result with empty email and blank name shouldn't be success. / ex 12:32AM INF email= name=" " success=true

hzlzh commented 8 months ago

I am unable to reproduce this issue so I will need your help to debug this. Have you used the Apple ID with the App Store before attempting to use it with ipatool? @majd Yes I used those apple IDs on iPhone first and download some free app as a test, I also accept the popup. So what to do next to debug?

image

Happens after switching logins several times in a row

image
cloud-commander commented 7 months ago

I had this issue too. I was able to resolve it by unlocking my Apple account on the web and resetting my password. I was then able to login successfully.

hzlzh commented 6 months ago

I had this issue too. I was able to resolve it by unlocking my Apple account on the web and resetting my password. I was then able to login successfully.

It will happen again every day

hzlzh commented 2 months ago

@veanome Did you fix this? Could you tell me how?