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

Provide better auth failure error in the case that "Your account is disabled." #347

Open
chrismessina opened this issue Feb 26, 2025 · 0 comments
Labels
feature request New feature request

Comments

@chrismessina
Copy link

Description

I tried to authenticate and I guess Apple wasn't happy about it. When I turned on verbose logging, I saw:

{
  "Data": {
    "Account": { "Address": { "FirstName": "", "LastName": "" }, "Email": "" },
    "CustomerMessage": "Your account is disabled.",
..
  },
  "StatusCode": 200
}

The ipatool kept reporting ERR error="something went wrong" success=false, but it wasn't clear if I should stop retrying, so I didn't, and I assume at some point my account will get locked or something.

It would be been helpful for the ipatool to catch the case where the error contains "Your account is disabled", so I can stop trying!


Here's the full error:

{
  "Data": {
    "Account": { "Address": { "FirstName": "", "LastName": "" }, "Email": "" },
    "CustomerMessage": "Your account is disabled.",
    "DirectoryServicesID": "",
    "FailureType": "",
    "PasswordToken": ""
  },
  "Headers": {
    "Apple-Originating-System": "MZFinance",
    "Apple-Seq": "0.7",
    "Apple-Timing-App": "112 ms",
    "Apple-Tk": "false",
    "B3": "[redacted]-[redacted]",
    "Cache-Control": "private; no-cache; no-store; no-transform; must-revalidate; max-age=0",
    "Connection": "keep-alive",
    "Content-Type": "text/xml; charset=UTF-8",
    "Date": "Wed, 26 Feb 2025 23:48:09 GMT",
    "Edge-Control": "no-store; cache-maxage=0",
    "Expires": "Wed, 26 Feb 2025 23:48:09 GMT",
    "Itspod": "16",
    "Pod": "16",
    "Server": "Apple",
    "Set-Cookie": "itspod=16; version=\"1\"; expires=Wed, 26-Mar-2025 22:48:09 GMT; path=/; domain=.apple.com; mzf_in=3160124; version=\"1\"; path=/WebObjects; domain=.apple.com; secure; HttpOnly; mzf_dr=0; version=\"1\"; expires=Thu, 01-Jan-1970 00:00:00 GMT; path=/WebObjects; domain=.apple.com",
    "Strict-Transport-Security": "max-age=31536000; includeSubdomains",
    "X-Apple-Application-Instance": "3160124",
    "X-Apple-Application-Site": "MR22",
    "X-Apple-Date-Generated": "Wed, 26 Feb 2025 23:48:09 GMT",
    "X-Apple-Jingle-Correlation-Key": "[redacted]",
    "X-Apple-Lokamai-No-Cache": "true",
    "X-Apple-Orig-Url": "https://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/authenticate",
    "X-Apple-Request-Store-Front": "\u003cnull\u003e",
    "X-Apple-Request-Uuid": "************************************",
    "X-Apple-Translated-Wo-Url": "/WebObjects/MZFinance.woa/wa/authenticate",
    "X-B3-Spanid": "635cedaceb98d88f",
    "X-B3-Traceid": "26fd97dd8d22d4865f5aef58b082c6ad",
    "X-Content-Type-Options": "nosniff",
    "X-Daiquiri-Instance": "daiquiri:14236001:mr55p00it-qukt05050701:7987:25RELEASE13:daiquiri-amp-commerce-legacy-int-001-mr; daiquiri:14626003:mr55p00it-qukt02032101:7987:25RELEASE13:daiquiri-amp-commerce-pci-ext-001-mr",
    "X-Frame-Options": "SAMEORIGIN",
    "X-Responding-Instance": "MZFinance:3160124:::",
    "X-Webobjects-Loadaverage": "214",
    "X-Xss-Protection": "1; mode=block"
  },
  "StatusCode": 200
}
@chrismessina chrismessina added the feature request New feature request label Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature request
Projects
None yet
Development

No branches or pull requests

1 participant