ScaleLeap / amazon-mws-api-sdk

A fully typed TypeScript and Node.js Amazon MWS API Unofficial SDK
https://npm.im/@scaleleap/amazon-mws-api-sdk
MIT License
20 stars 12 forks source link

GetTransportContent MWS returning a IN instead inches #482

Closed armgoja closed 2 years ago

armgoja commented 2 years ago

Hi,

I am having the following issue getting transport content information, anyone having the same issue ?

"stack":"ParsingError: Problem with the value of property \"GetTransportContentResponse\": Problem with the value of property \"GetTransportContentResult\": Problem with the value of property \"TransportContent\": Problem with the value of property \"TransportDetails\": Problem with the value of property \"PartneredSmallParcelData\": One of the following problems occured: (0) Problem with the value of property \"PackageList\": Problem with the value at index 0: Problem with the value of property \"Dimensions\": Problem with the value of property \"Unit\": Expected an enum member, but received a string with value \"IN\", (1) Expected an undefined, but received an object with value

moltar commented 2 years ago

I think you opened the issue in the wrong repo.

Did you mean to open in https://github.com/ScaleLeap/amazon-mws-api-sdk ?

moltar commented 2 years ago

I moved the issue.

moltar commented 2 years ago

Please open a PR for the fix. See previous recent PRs on how to fix the parser / validator.