-
-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GetListingItem -> Summaries -> ItemName not required #835
Comments
Also experiencing this. I have 2 items that refuse to return itemName in the summaries section. Interestingly if I look at the item in the Inventory page on seller central, the Title of the product is missing the link to view it on amazon. As soon as you call ->dto() on the response object everything bugs out as itemName is required. I'm wondering if it will pick up the item_name attribute eventually and amazon start populating the itemName summaries field on its own and the problem will go away. Edit : in my case it is broken on both searchListingsItems and getListingsItem calls. Edit : I don't know if it is related, but the two items that are refusing to supply itemName summaries fields, were flagged overnight for Prescription Only Medicine violations, despite them being Industrial Oils listed in the MACHINE_LUBRICATION product type. |
I'm working around this with the following patch. It makes the itemName field optional. If it is returned by amazon, it is populated. If it isn't returned by amazon, it is populated as null. I just make sure that wherever I use the itemName field, I check it is not null before use.
Need to really understand under what circumstances the itemName field is not populated and why. Is it an error on Amazon's part, or is it really optional. |
Problem description:
Hello, for getListingItem function sometimes summaries -> itemName is returning null. So we think that this field is not need to be required instead it needs to be optional. I know it's weird for Amazon not return itemName, but for this log error we know that ietm name can be nullable.
Error:
Code
Seller Central SP API config page screenshot
itemName is not returning example
Response
{ "sku": "xxx", "summaries": [ { "marketplaceId": "xxx", "asin": "xx", "productType": "PRODUCT", "conditionType": "new_new", "status": [ "DISCOVERABLE" ], "createdDate": "2023-02-02T11:40:55.495Z", "lastUpdatedDate": "2023-11-25T07:54:48.062Z" } ] }
The text was updated successfully, but these errors were encountered: