Installed this to kick the tires and got the following error w/ Default Search Index == All and selecting SearchIndex Only.

Sorry - there was an error accessing Amazon.com. Details are in the system log (and here:) Amazon error returned. Code=AWS.RestrictedParameterValueCombination, Message=Your request contained a restricted parameter combination. When SearchIndex equals All, BrowseNode cannot be present. //

Comments

reikiman’s picture

Oh, and nothing entered in Default Browsenode or Default Item List

rfay’s picture

Thanks for pointing this out. I can confirm this error. Please use one of the more restrictive search indexes.

reikiman’s picture

If one uses a more restrictive search index does that then prohibit you from referencing ASIN's outside that search index?

That is, I refer to all sorts of products .. so if I set up the Book search index would I only be able to refer to books?

rfay’s picture

The SearchIndex is just Amazon's way of grouping the products. The end-user can change the SearchIndex at any time. This problem ONLY happens if:

1. The default searchIndex is set to "All"
2. The user enters /amazon_store with no query

It doesn't even happen if the user *changes* the SearchIndex to "All" and does a query. It only happens when "All" is set to the default searchindex.

This is a rather strange peculiarity of Amazon's API, that you can't use SearchIndex "All" with several queries. There are workarounds for it in the amazon_store code, but I missed one.

Using a search index besides "All" is not really "more restrictive". It's what Amazon prefers, as they can give more accurate search results. I can only assume that they put all the restrictions on "All" to push providers toward pushing the other search indexes.

rfay’s picture

Status: Active » Closed (fixed)

Fixed in next release. The "All" is no longer offered in the admin interface.