Skip to content
This repository has been archived by the owner on Jul 24, 2020. It is now read-only.

Error on Amazon-API call should queue retry #110

Open
dArignac opened this issue Apr 5, 2017 · 1 comment
Open

Error on Amazon-API call should queue retry #110

dArignac opened this issue Apr 5, 2017 · 1 comment
Assignees
Labels

Comments

@dArignac
Copy link
Member

dArignac commented Apr 5, 2017

Sometimes the request to Amazon API returns HTTP503. It's unknown why and seems to only be happending when requesting a large number of product within a short range. In fact the 9th slice of calls fails. I was unable to reproduce this locally.

However, if the request to Amazon fails, it should retry. The error is catched within the general bottlenose error handler. We have to see how to grab it from there and retry the call.

The error message is:

ERROR 2017-04-05 05:45:39,169 api.py 79 Error upon requesting Amazon URL http://webservices.amazon.de/onca/xml?AWSAccessKeyId=XXX&AssociateTag=XXX&ItemId=B0002XDODU%2CB000BK8FH4%2CB00UOH98D4%2CB013UY4A9E%2CB00CJCQ5JC
%2CB01F31QIZQ%2CB01BVG9G0Q%2CB00V88YDUG%2CB001UG4VZS&Operation=ItemLookup&ResponseGroup=Large&Service=AWSECommerceService&Timestamp=2017-04-05T05%3A45%3A39Z&Version=2011-08-01&Signature=XXX (Code
: http://webservices.amazon.de/onca/xml?ItemId=B0002XDODU%2CB000BK8FH4%2CB00UOH98D4%2CB013UY4A9E%2CB00CJCQ5JC%2CB01F31QIZQ%2CB01BVG9G0Q%2CB00V88YDUG%2CB001UG4VZS&Operation=ItemLookup&ResponseGroup=Large&Service=AWSECommerceService&Version
=2011-08-01, Cache-URL: HTTP Error 503: Service Unavailable): 503
@dArignac dArignac added the bug label Apr 5, 2017
@dArignac
Copy link
Member Author

dArignac commented Apr 8, 2017

Quick check revealed that all products are available on Amazon.

@dArignac dArignac changed the title Error upon product synchronization Error on Amazon-API call should queue retry Apr 8, 2017
@dArignac dArignac self-assigned this Apr 8, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant