-
Notifications
You must be signed in to change notification settings - Fork 504
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
ERR error="invalid country code: could not infer country code from store front" success=false #131
Comments
This error occurs as the flag --country had been deprecated. |
@24h7d What operating system are you using the tool on? |
@crazyi The fact that you can search for an app by specifying the country code does not mean that you can download it using an Apple ID that belongs to a different country. The app has to exist in the country of the authenticated Apple ID. That was the point of the change, to simplify the user flow. See #130. If you absolutely need to search for an app in another store without authenticating, you can use the iTunes API directly. $ curl -s 'http://itunes.apple.com/search?term=TestFlight&media=software&country=US' | jq -r '.results | first | .trackName'
TestFlight |
Im using macbook pro monterey
…On Fri, Dec 23, 2022, 3:55 PM Majd Alfhaily ***@***.***> wrote:
@24h7d <https://github.com/24h7d> What operating system are you using the
tool on?
—
Reply to this email directly, view it on GitHub
<#131 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASZ3BIR5PM7IFXTFC76LYC3WOVSJBANCNFSM6AAAAAATGJA3N4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@24h7d Please use the Keychain Access app on your MacBook to search for an application password labeled Please note that string contains sensitive data so make sure you don't share the entire string here and only the |
I only found ipatool-auth.service in my keychain access
…On Fri, Dec 23, 2022, 4:50 PM Majd Alfhaily ***@***.***> wrote:
@24h7d <https://github.com/24h7d> Please use the Keychain Access app on
your MacBook to search for an application password labeled
ipatool2.service. It should be in the login keychain. Once you find it,
double click on it check the "show password" box. Please share the
storeFront value you find there.
Please note that the string that contain sensitive data so make sure you
don't share the entire string here and only the storeFront value.
—
Reply to this email directly, view it on GitHub
<#131 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASZ3BIXABVDUC3Q4M4LJTN3WOVYVLANCNFSM6AAAAAATGJA3N4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
That should be the one. |
But when I click show password there is no storefront just my plaintext
password
…On Fri, Dec 23, 2022, 5:17 PM Majd Alfhaily ***@***.***> wrote:
I only found ipatool-auth.service in my keychain access
… <#m_-8922937433195242676_m_8879722142780610693_m_-8201328331111076663_>
That should be the one.
—
Reply to this email directly, view it on GitHub
<#131 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASZ3BIRWC43FATAJCORHWMLWOV34RANCNFSM6AAAAAATGJA3N4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
The value for the keychain item should be a JSON blob with multiple keys. Keys include |
Yes, the value just my apple id password in json format
…On Fri, Dec 23, 2022, 8:18 PM Majd Alfhaily ***@***.***> wrote:
The value for the keychain item should be a JSON blob with multiple keys.
Keys include email, name, directoryServicesIdentifier, storeFront and
other keys. See appstore_login.go#L117
<https://github.com/majd/ipatool/blob/main/pkg/appstore/appstore_login.go#L117>.
Are you missing the storeFront key there?
—
Reply to this email directly, view it on GitHub
<#131 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASZ3BIRMHWINK4ZMQBLIIDLWOWRB3ANCNFSM6AAAAAATGJA3N4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I have same error. Tested on debian 6.0.0 and macOS Ventura. Keyring file is being created, storeFront exists but error says |
The problem in authentication process.
I fixed this issue by re login with :
ipatool auth -e <email>
Then input the password
Pop up on mac to authorize and the OTP number to be be input to the ipatool
…----
Use -e instead -email in auth command
On Tue, Dec 27, 2022, 3:02 PM Nasantogtokh Amarsaikhan < ***@***.***> wrote:
I have same error. Tested on debian 6.0.0 and macOS Ventura. Keyring file
is being created, storeFront exists but error says
ERR error="invalid country code: could not infer country code from store
front" success=false
—
Reply to this email directly, view it on GitHub
<#131 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASZ3BITXQHQRLOF3DXD4GVLWPKPBVANCNFSM6AAAAAATGJA3N4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
The above doesn't solve my problem. Tried deleting ipatool.service keyring, and re-authenticated. I'm still having same error. |
Fixed the problem by authenticating with different apple account. Probably, the initial appleId I've used might have different country storeFront, therefore, it was giving me the error. |
@nasaa0528 I believe that is due to Mongolia missing from the storefront list. It should be fixed in #134 and the fix was shipped with version 2.0.1. |
This issue has been automatically closed because there has been no response from the original author. |
Could you please add the following store front to the list since I can't use that app due to the same issue? "storeFront":"143575-2,34" -> Albania |
I have the same error, region is PL |
@majd Could you please add the following store front to the list since I can't use that app due to the same issue? "storeFront":"143615-2,34" -> Georgia |
What happened?
when I successfully log in and try to search for the application it always shows this error
ERR error="invalid country code: could not infer country code from store front" success=false
Does anyone have the same issue here?
Version
2.0.0
Relevant log output
No response
The text was updated successfully, but these errors were encountered: