Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I got an error #317

Open
hieuttmatech opened this issue Dec 14, 2024 · 6 comments
Open

I got an error #317

hieuttmatech opened this issue Dec 14, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@hieuttmatech
Copy link

What happened?

I got an error when trying to download ipa from App Store:

ERR error="country code is invalid: country code mapping for store front () was not found" success=false
Please support me

Version

2.1.4

Relevant log output

No response

@hieuttmatech hieuttmatech added the bug Something isn't working label Dec 14, 2024
@ptzool
Copy link

ptzool commented Dec 15, 2024

@hieuttmatech I think there was a problem with the apple http response with the X-Set-Apple-Store-Front header. It gave me the same error, but now it returns the correct answer.

@ShaquilleOatmeal4444
Copy link

Hi, have just had the same error. @ptzool could you explain how you resolved this?

version 2.1.4

ipatool search app_name
ERR error="country code is invalid: country code mapping for store front () was not found" success=false

@hieuttmatech
Copy link
Author

@hieuttmatech I think there was a problem with the apple http response with the X-Set-Apple-Store-Front header. It gave me the same error, but now it returns the correct answer.

so, can you give me a solution ?

@ptzool
Copy link

ptzool commented Dec 18, 2024

Actually, I started by checking the code and verifying the request that ipatool makes to the apple servers.

I changed the logic of the countryCodeFromStoreFront function, and with that change I built a custom ipatool. (I don't think that was the solution.)

I logged in again with ipatool.

That's all I did.

➜  ipatool git:(main) ✗ ./ipatool --version
ipatool version dev
➜  ipatool git:(main) ✗ ./ipatool search facebook -l 1
9:21PM INF apps=[{"bundleID":"com.facebook.Facebook","id":284882215,"name":"Facebook","price":0,"version":"494.0.0"}] count=1


➜  ipatool git:(main) ✗ ipatool --version
ipatool version 2.1.4
➜  ipatool git:(main) ✗ ipatool search facebook -l 1
9:21PM INF apps=[{"bundleID":"com.facebook.Facebook","id":284882215,"name":"Facebook","price":0,"version":"494.0.0"}] count=1

@bigbrightgg
Copy link

Same problem here, re-login still give the same error.

@hieuttmatech
Copy link
Author

Actually, I started by checking the code and verifying the request that ipatool makes to the apple servers.

I changed the logic of the countryCodeFromStoreFront function, and with that change I built a custom ipatool. (I don't think that was the solution.)

I logged in again with ipatool.

That's all I did.

➜  ipatool git:(main) ✗ ./ipatool --version
ipatool version dev
➜  ipatool git:(main) ✗ ./ipatool search facebook -l 1
9:21PM INF apps=[{"bundleID":"com.facebook.Facebook","id":284882215,"name":"Facebook","price":0,"version":"494.0.0"}] count=1


➜  ipatool git:(main) ✗ ipatool --version
ipatool version 2.1.4
➜  ipatool git:(main) ✗ ipatool search facebook -l 1
9:21PM INF apps=[{"bundleID":"com.facebook.Facebook","id":284882215,"name":"Facebook","price":0,"version":"494.0.0"}] count=1

tks you. can you fix this bug and update new version. tks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants