normalize max retries error