> For the complete documentation index, see [llms.txt](https://sserra.gitbook.io/livebox/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sserra.gitbook.io/livebox/how-to-use-it/retrying-on-failure.md).

# Retrying on failure

Livebox can retry the request when an error occurs during the execution of [fetcher](/livebox/livebox-components/fetcher.md) instance. There are two strategies that can be used:

* **Interval**, using `.retry(RetryStrategy.INTERVAL)`, this retries the request 3 times with a 1 second interval between each try.
* **Exponencial backoff**, this is a known strategy that works very well when dealing with network errors. Exponencial backoff uses the formula $$f(x) = b^x$$to calculate the delay with a 1 second interval between each try, for a max of 3 times.
