Closed Roman991 closed 3 years ago
Hi Roman, which version of the package are you using?
Oh, Hi Roman! :)
I just installed it "version": "1.9.47"
:tada: This issue has been resolved in version 1.9.48 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
thanks, it worked.
But all fields under ShippingAddress
should be fixed as strings.
Those fields are filled by customers, and they somethimes know to be very creative:
{
City: "Italy",
AddressLine1: 333333333,
AddressLine2: "41",
AdrressLine3: "kebab st",
PostalCode: "Rome"
}
That's why parsing by content on that fields should be off XD
https://docs.developer.amazonservices.com/en_US/orders-2013-09-01/Orders_Datatypes.html#Address
ERRORE ParsingError: Problem with the value of property `ListOrdersResponse` :
Problem with the value of property `ListOrdersResult`:
Problem with the value of property `Orders`:
Problem with the value at index 7:
Problem with the value of property `ShippingAddress`:
One of the following problems occured:
(0) Problem with the value of property `AddressLine2`:
One of the following problems occured:
(0) Expected a string, but received a number with value 36,
(1) Expected an undefined, but received a number with value 36, ...
seems there's some problems when parsing orders json (or xml?).
error
\mws\lib\sections\orders.js:261:52)
json.stringify
the httpCliente returns the object with those 2 fields as numbers, later I'll check also the http class