Closed (fixed)
Project:
Amazon Store
Version:
6.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 May 2009 at 15:46 UTC
Updated:
29 May 2009 at 19:27 UTC
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
Comment #1
reikiman commentedOh, and nothing entered in Default Browsenode or Default Item List
Comment #2
rfayThanks for pointing this out. I can confirm this error. Please use one of the more restrictive search indexes.
Comment #3
reikiman commentedIf 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?
Comment #4
rfayThe 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.
Comment #5
rfayFixed in next release. The "All" is no longer offered in the admin interface.