amz_sp_api icon indicating copy to clipboard operation
amz_sp_api copied to clipboard

Zlib::DataError: incorrect header check

Open sonikasresta opened this issue 3 years ago • 3 comments

While using AmzSpApi.decrypt_and_inflate_document(response, resp) for the report type GET_LEDGER_SUMMARY_VIEW_DATA I am getting Zlib::DataError: incorrect header check this error. However when i copy the code from the gem into my local file it works. Can anyone tell me what might i have missed?

sonikasresta avatar Mar 09 '22 07:03 sonikasresta

While using AmzSpApi.decrypt_and_inflate_document(response, resp) for the report type GET_LEDGER_SUMMARY_VIEW_DATA I am getting Zlib::DataError: incorrect header check this error. However when i copy the code from the gem into my local file it works. Can anyone tell me what might i have missed?

hello, the same to me when i called the method AmzSpApi.decrypt_and_inflate_document(response, resp), do you resolve this problem?

chenshuilong avatar Apr 27 '22 09:04 chenshuilong

There have been additional changes to the gem that have not been published to ruby gems. You can add this repo as the source for you gem. gem 'amz_sp_api', :git => 'https://github.com/ericcj/amz_sp_api'

mendywoly avatar Apr 27 '22 17:04 mendywoly

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

chenshuilong avatar Apr 27 '22 17:04 chenshuilong

fixed in https://github.com/ericcj/amz_sp_api/releases/tag/v1.0.0

ericcj avatar Oct 11 '22 19:10 ericcj