Issue #33 duplicate

Required parameters include AssociateTag

Joscha Feth avatarJoscha Feth created an issue

I am getting the following error:

  ...
  File "/Users/joscha/Documents/workspace/xyz/index.py", line 15, in getAmazonProduct
    node = api.item_search('Books', Publisher='Galileo Press')
  File "/Users/joscha/Documents/workspace/xyz/amazonproduct/paginators.py", line 76, in wrapped
    return klass(method, *args, **kwargs)
  File "/Users/joscha/Documents/workspace/xyz/amazonproduct/paginators.py", line 134, in __init__
    super(LxmlItemSearchPaginator, self).__init__(fnc, *args, **kwargs)
  File "/Users/joscha/Documents/workspace/xyz/amazonproduct/paginators.py", line 96, in __init__
    super(LxmlPaginator, self).__init__(fun, args, kwargs, self.counter)
  File "/Users/joscha/Documents/workspace/xyz/amazonproduct/paginators.py", line 38, in __init__
    self._first_page = self.page(1)
  File "/Users/joscha/Documents/workspace/xyz/amazonproduct/paginators.py", line 54, in page
    root = self.fun(*self.args, **self.kwargs)
  File "/Users/joscha/Documents/workspace/xyz/amazonproduct/paginators.py", line 75, in <lambda>
    method = lambda *a, **b: fnc(api, *a, **b)
  File "/Users/joscha/Documents/workspace/xyz/amazonproduct/api.py", line 360, in item_search
    SearchIndex=search_index, **params)
  File "/Users/joscha/Documents/workspace/xyz/amazonproduct/api.py", line 282, in call
    return self._parse(fp)
  File "/Users/joscha/Documents/workspace/xyz/amazonproduct/api.py", line 227, in _parse
    return self.response_processor(fp)
  File "/Users/joscha/Documents/workspace/xyz/amazonproduct/processors.py", line 65, in __call__
    raise AWSError(code, msg)
AWSError: AWS.MissingParameters: Your request is missing required parameters. Required parameters include AssociateTag.

It seems as if amazon changed their API slightly, see here: https://forums.aws.amazon.com/thread.jspa?threadID=78405

Comments (2)

  1. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.