Open JonathanJonathanJonathan opened 8 years ago
I was trying to do a browseNodeLookup with incorrect response groups; no error was returned. Added this and also included a error callback for unknown responses.
amazon_client.browseNodeLookup({ browseNodeId: 12345, responseGroup: ['TopSellers', 'Images', 'ItemAttributes', 'OfferSummary'], domain: api_domain }, function(err, products) { if (err) { callback(err, null); } else { return callback(null, products); } });
I was trying to do a browseNodeLookup with incorrect response groups; no error was returned. Added this and also included a error callback for unknown responses.
amazon_client.browseNodeLookup({ browseNodeId: 12345, responseGroup: ['TopSellers', 'Images', 'ItemAttributes', 'OfferSummary'], domain: api_domain }, function(err, products) { if (err) { callback(err, null); } else { return callback(null, products); } });