The Knackpy APIs support a max_attempts value which will retry on request timeouts up to the number of max attempts. Unfortunately, 500 errors are not handled this way, and the Knack API has a terrible habit of returning 503 errors in particular. We should retry on requests that fail with any 5xx error.
The Knackpy APIs support a
max_attempts
value which will retry on request timeouts up to the number of max attempts. Unfortunately, 500 errors are not handled this way, and the Knack API has a terrible habit of returning503
errors in particular. We should retry on requests that fail with any 5xx error.