cannot read salesReports api response

we have a schedule calling https://api.appstoreconnect.apple.com/v1/salesReports everday, and after 2025/01/15 08:40:03 (GMT+8) the response started to parse fail

1.the api return http status 200, but the respose is not readable (save bytes as .txt and open)

2.there was a response header "x-reports-filename" but not exist now

our program never change for at least 5 years, and I don't find any update of salesReports api

how can we solve it?

Answered by chLin20230817 in 821363022

solved the issue with newly created kid (only change kid, the rest of our program code unchange)

---before 2025/01/15---

the following kid both working (download file readable)

7GLM****** - (Role: FINANCE)
UFN6****** - (Role: SALES, ACCESS_TO_REPORTS

---after 2025/01/15---

kid (Role: FINANCE) not working (file not readable)

7GLM****** - (Role: FINANCE)
UFN6****** - (Role: SALES, ACCESS_TO_REPORTS)

but if we create a new kid (Role: FINANCE), the download file is readable again

4T8T****** - (Role: FINANCE)

expected content (in the past)

Provider	Provider Country	SKU...
APPLE	US	...

current content

?       埣Y?/??劭?KFf? ca?J&_??剪FNw????揹憯k...
????磉?#?嵃F??袙v|w~S^媋...

tried changing encoding not work

seems c# HttpWebRequest.AutomaticDecompression not work for salesReports api response now

HttpWebRequest.AutomaticDecompression		= DecompressionMethods.Deflate | DecompressionMethods.GZip;
Accepted Answer

solved the issue with newly created kid (only change kid, the rest of our program code unchange)

---before 2025/01/15---

the following kid both working (download file readable)

7GLM****** - (Role: FINANCE)
UFN6****** - (Role: SALES, ACCESS_TO_REPORTS

---after 2025/01/15---

kid (Role: FINANCE) not working (file not readable)

7GLM****** - (Role: FINANCE)
UFN6****** - (Role: SALES, ACCESS_TO_REPORTS)

but if we create a new kid (Role: FINANCE), the download file is readable again

4T8T****** - (Role: FINANCE)
cannot read salesReports api response
 
 
Q