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

Error on Amazon-API call should queue retry #110

@dArignac

Description

@dArignac

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions