This repository has been archived by the owner on May 10, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I am attempting to add the GetLowestPricedOffers operation to boto. I have tried for quite some time now yet i cannot get it to work. Any idea what I am doing wrong? Below is a sample xml response from mws scratchpad, below that is my added code (highlighted code).
connection.py
response.py
Here is the error I am getting
File "C:/Users/Colby/PycharmProjects/amazon/sellercheck.py", line 40, in
asin = mws.get_lowest_priced_offers_for_asin(MarketplaceId=marketplaceId, ASIN='B012U5263G', ItemCondition='New')
File "C:\Users\Colby\PycharmProjects\amazon\venv\lib\site-packages\boto\mws\connection.py", line 167, in requires
return func(*args, **kw)
File "C:\Users\Colby\PycharmProjects\amazon\venv\lib\site-packages\boto\mws\connection.py", line 261, in wrapper
return func(self, request, response, *args, **kw)
File "C:\Users\Colby\PycharmProjects\amazon\venv\lib\site-packages\boto\mws\connection.py", line 848, in get_lowest_priced_offers_for_asin
return self._post_request(request, kw, response)
File "C:\Users\Colby\PycharmProjects\amazon\venv\lib\site-packages\boto\mws\connection.py", line 332, in _post_request
response.reason, body)
File "C:\Users\Colby\PycharmProjects\amazon\venv\lib\site-packages\boto\mws\exception.py", line 29, in call
supplied = self.find_element(server.error_code, '', ResponseError)
File "C:\Users\Colby\PycharmProjects\amazon\venv\lib\site-packages\boto\mws\response.py", line 154, in find_element
element = self.search_scopes(action + suffix)
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'