Repository: majd/ipatool

Issue #357: Download links are no longer returned by the App Store API
Created: 2025-03-20T13:35:19Z
What happened?
Had been able to use the download command in the past few weeks but got hit with an error message today when trying to download any apps. The search command is able to return results so this isn't an auth issue.
Version
2.1.6
Relevant log output
Below are the verbose logs when I run ipa download -I [appid]
DBG error="invalid response" metadata={"Data":{"CustomerMessage":"","FailureType":"","Items":[]},"Headers":{"Apple-Originating-System":"MZFinance","Apple-Seq":"0.0","Apple-Timing-App":"329 ms","Apple-Tk":"false","B3":"596249e2284b13a9a31ff822b816d274-f07479a135a1141d","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":"Thu, 20 Mar 2025 13:25:59 GMT","Edge-Control":"no-store; cache-maxage=0","Expires":"Thu, 20 Mar 2025 13:25:59 GMT","Itspod":"19","Pod":"19","Server":"Apple","Set-Cookie":"vrep=CPPzhIsEEgQIAxAAEgQICBAAEgQIARAAEgQIERAAEgQIChAAEgQIEhAAEgQIBRAAEgQIEBAAEgQIBBALEgQIDhAAEgQIDxAAEgQIAhAAEgQIBxAAEgQICRAAEgUIBhD0ChIECBMQABIECAwQABIECA0QABIECAsQAA; version=\"1\"; expires=Fri, 19-Sep-2025 01:25:59 GMT; path=/; domain=.apple.com; itspod=19; version=\"1\"; expires=Sun, 20-Apr-2025 13:25:59 GMT; path=/; domain=.apple.com; mzf_in=3190148; 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":"3190148","X-Apple-Application-Site":"MR22","X-Apple-Date-Generated":"Thu, 20 Mar 2025 13:25:59 GMT","X-Apple-Jingle-Correlation-Key":"LFRETYRIJMJ2TIY77ARLQFWSOQ","X-Apple-Lokamai-No-Cache":"true","X-Apple-Orig-Url":"https://p25-buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/volumeStoreDownloadProduct?guid=1E4309191C23","X-Apple-Request-Store-Front":"\u003cnull\u003e","X-Apple-Request-Uuid":"596249e2-284b-13a9-a31f-f822b816d274","X-Apple-Translated-Wo-Url":"/WebObjects/MZFinance.woa/wa/volumeStoreDownloadProduct?guid=1E4309191C23","X-B3-Spanid":"f07479a135a1141d","X-B3-Traceid":"596249e2284b13a9a31ff822b816d274","X-Content-Type-Options":"nosniff","X-Daiquiri-Instance":"daiquiri:14236001:mr55p00it-qukt05050701:7987:25RELEASE27:daiquiri-amp-commerce-legacy-int-001-mr; daiquiri:14626002:mr55p00it-qukt01020301:7987:25HOTFIX3:daiquiri-amp-commerce-pci-ext-001-mr","X-Frame-Options":"SAMEORIGIN","X-Responding-Instance":"MZFinance:3190148:::","X-Webobjects-Loadaverage":"729","X-Xss-Protection":"1; mode=block"},"StatusCode":200}

Duplicate issue #362: invalid response
Created: 2025-04-10T06:39:11Z
What happened?
Hi Team,
I am unable to download any ipa. The login is successful.
The purchase is also successful.
After that, I am unable to download anything.
I have tried downloading test flight, youtube, drive everything... failed.

Version
2.1.6
Relevant log output
ipatool download --bundle-identifier com.google.ios.youtube --output youtube.ipa --verbose
downloading   0% |                                                                                                                                                            | ( 0/ 1 B) 11:50AM DBG error="invalid response" metadata={"Data":{"CustomerMessage":"","FailureType":"","Items":[]},"Headers":{"Apple-Originating-System":"MZFinance","Apple-Seq":"0.0","Apple-Timing-App":"309 ms","Apple-Tk":"false","B3":"28727f4fab973ef1154cc91325dfd9a8-c2da1ba113669e45","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":"Thu, 10 Apr 2025 06:20:54 GMT","Edge-Control":"no-store; cache-maxage=0","Expires":"Thu, 10 Apr 2025 06:20:54 GMT","Itspod":"23","Pod":"23","Server":"Apple","Set-Cookie":"vrep=CMiszcY9EgQICRAAEgQIBRAAEgQIEhAAEgQIDBAAEgQIDxAAEgQIBxAAEgUIBhC9AhIECBEQABIECBMQABIECA0QABIECBAQABIECAQQABIECAIQABIECAsQABIECA4QABIECAEQABIECAMQABIECAoQABIECAgQAA; version=\"1\"; expires=Thu, 09-Oct-2025 18:20:54 GMT; path=/; domain=.apple.com; itspod=23; version=\"1\"; expires=Sat, 10-May-2025 06:20:54 GMT; path=/; domain=.apple.com; mzf_in=3230133; 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":"3230133","X-Apple-Application-Site":"MR22","X-Apple-Date-Generated":"Thu, 10 Apr 2025 06:20:54 GMT","X-Apple-Jingle-Correlation-Key":"FBZH6T5LS47PCFKMZEJSLX6ZVA","X-Apple-Lokamai-No-Cache":"true","X-Apple-Orig-Url":"https://p25-buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/volumeStoreDownloadProduct?guid=A61621C65C15","X-Apple-Request-Store-Front":"\u003cnull\u003e","X-Apple-Request-Uuid":"28727f4f-ab97-3ef1-154c-c91325dfd9a8","X-Apple-Translated-Wo-Url":"/WebObjects/MZFinance.woa/wa/volumeStoreDownloadProduct?guid=A61621C65C15","X-B3-Spanid":"c2da1ba113669e45","X-B3-Traceid":"28727f4fab973ef1154cc91325dfd9a8","X-Content-Type-Options":"nosniff","X-Daiquiri-Instance":"daiquiri:14236001:mr55p00it-qukt05050701:7987:25RELEASE27:daiquiri-amp-commerce-legacy-int-001-mr; daiquiri:14626001:mr55p00it-qukt01010301:7987:25HOTFIX3:daiquiri-amp-commerce-pci-ext-001-mr","X-Frame-Options":"SAMEORIGIN","X-Responding-Instance":"MZFinance:3230133:::","X-Webobjects-Loadaverage":"512","X-Xss-Protection":"1; mode=block"},"StatusCode":200}
11:50AM ERR error="invalid response" success=false

Closing comment (2025-04-11T19:20:49Z): Duplicate of #357.