bhushankummar / amazon-mws

Amazon MWS NodeJS Wrapper
MIT License
197 stars 78 forks source link

Error in parsing to json #137

Closed AmichayMiara closed 4 years ago

AmichayMiara commented 4 years ago

Hi,

returns report (_GET_FLAT_FILE_RETURNS_DATA_BY_RETURNDATE)

The report work fine via scratchpad. When using amazon-mws one of the items is having a shift with the fields values.

2020-05-25 17_54_42-pma-website  C__Users_michi_WebstormProjects_pma-website  -  _functions_src_co

Tracking ID value should be 795865350928 ... Return quantity is the Item Name instead of '1'.


Maybe there is a white space after the "FedEx" string that cause a bug with parsing to json

AmichayMiara commented 4 years ago

example tsv from scratchpad output.

one example of a good item and the bad one (order id 112-9839305-4540205) amazon.txt

bhushankummar commented 4 years ago

@AmichayMiara I'll check and get back to you.

AmichayMiara commented 4 years ago

@bhushankumarl Thank you, but please hold your check.

We think that it is Amazon's formatting problem. Their developer team on it.

bhushankummar commented 4 years ago

@AmichayMiara Sure.

If you are looking for the Amazon MWS developer, please feel free to set a meeting with our experts. https://calendly.com/bhushankumar/project-consultation