There are many recipes for all sorts of functionality, but none (that I can find) that show retry logic for return codes 429, 503 and 500. I'm seeing these return codes A LOT.
What problem are you trying to solve with this feature?
More robust API calls.
Any other information you'd like to share?
This snippet to successfully retry when return code is 429 Resource Exhausted but times-out if return code is 503 Model is Overloaded or if 500 An internal error has occurred.
Description of the feature request:
There are many recipes for all sorts of functionality, but none (that I can find) that show retry logic for return codes 429, 503 and 500. I'm seeing these return codes A LOT.
What problem are you trying to solve with this feature?
More robust API calls.
Any other information you'd like to share?
This snippet to successfully retry when return code is 429
Resource Exhausted
but times-out if return code is 503Model is Overloaded
or if 500An internal error has occurred
.