# Request for update after power or network failure

**URL:** <https://hub.mender.io/t/request-for-update-after-power-or-network-failure/2830>\
**Category:** General Discussions\
**Created:** [November 13, 2020, 4:16pm UTC](https://hub.mender.io/t/request-for-update-after-power-or-network-failure/2830 "2020-11-13T16:16:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![SamanRatna](https://avatars.discourse-cdn.com/v4/letter/s/6a8cbe/32.png) [@SamanRatna](https://hub.mender.io/u/SamanRatna)\
**Post date:** [November 13, 2020, 4:16pm UTC](https://hub.mender.io/t/request-for-update-after-power-or-network-failure/2830/1 "2020-11-13T16:16:48Z")

</div>

Hi guys,

I have a mobile device running an application. It has probabilities of network and power failure.  
If an update failure takes place due to network connectivity or power supply, mender server gets the failure message and my device rolls back to previous working condition.

Now, I want the device to be able to request for update again after the failure. How can I accomplish it? Please ask me for more information about my project that I might be missing out for this particular use case.

Thanks in advance.

Saman

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [November 16, 2020, 2:07pm UTC](https://hub.mender.io/t/request-for-update-after-power-or-network-failure/2830/2 "2020-11-16T14:07:39Z")

</div>

Hi @SamanRatna at the moment you would need to retry the deployment. In some of our hosted plans we have a retry count when creating a deployment but you can always use the API to retrigger it.

Drew

---

<div class="post-metadata">

**Author:** ![SamanRatna](https://avatars.discourse-cdn.com/v4/letter/s/6a8cbe/32.png) [@SamanRatna](https://hub.mender.io/u/SamanRatna)\
**Post date:** [November 17, 2020, 3:25pm UTC](https://hub.mender.io/t/request-for-update-after-power-or-network-failure/2830/3 "2020-11-17T15:25:22Z")

</div>

Can you give me some references about the APIs? And some information about how to use it to retrigger the deployment?

Saman

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [November 17, 2020, 5:41pm UTC](https://hub.mender.io/t/request-for-update-after-power-or-network-failure/2830/4 "2020-11-17T17:41:18Z")

</div>

The API docs are [here.](https://docs.mender.io/api/#introduction) and specifically for [creating deployments](https://docs.mender.io/api/#management-api-deployments-v2).

---

<div class="post-metadata">

**Author:** ![SamanRatna](https://avatars.discourse-cdn.com/v4/letter/s/6a8cbe/32.png) [@SamanRatna](https://hub.mender.io/u/SamanRatna)\
**Post date:** [November 17, 2020, 6:29pm UTC](https://hub.mender.io/t/request-for-update-after-power-or-network-failure/2830/5 "2020-11-17T18:29:47Z")

</div>

Thanks @drewmoseley
