Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

GetLowestPricedOffers #3876

Open
wants to merge 15 commits into
base: develop
Choose a base branch
from
Open

GetLowestPricedOffers #3876

wants to merge 15 commits into from

Conversation

ctdax
Copy link

@ctdax ctdax commented Jul 16, 2019

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).

lowestpricexml1

lowestpricexml2

lowestpricexml3

lowestpricexml4

connection.py
boto_connection_error

response.py
boto_response_error1

boto_response_error4

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'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants