Closed liuzhenggang closed 1 month ago
Hi @liuzhenggang,
Please check whether your report was compressed and which CompressionAlgorithm was it compressed with. You can find this in the getReportDocument
endpoint response.
https://developer-docs.amazon.com/sp-api/docs/reports-api-v2021-06-30-reference#compressionalgorithm
You can also follow the following guide to steps on how to download and decompress a report.
Best, Jawher Selling Partner API Solutions Architect
@jawheral We will still encounter the problem of converting special characters into question marks when we use the method you described to pull the data again
Hi @liuzhenggang,
I suggest that you request the report again and troubleshoot your decompress and decoding logic.
If you still face this issue, then I kindly ask you to contact DeveloperSupport to report it.
Best, Jawher Solutions Architect - Selling Partner API
Hi@jawheral, I tried again, but the problem still persists.
This is a very old issue that is probably not getting as much attention as it deserves. We encourage you to check if this is still an issue after the latest release and if you find that this is still a problem, please feel free to open a new issue and make a reference to this one.
closed for inactivity
We use sp-api to download the GET_MERCHANT_LISTINGS_ALL_DATA report, and its response header Content-Type value is text/plain; charset=Cp1252. We use cp1252 to parse the file, and some characters will be parsed as question marks. For example, '&' and ':' (Chinese colon)