I've been working on firmware updating devices from Microsoft Azure, and when pushing new firmware update to devices (NRF9160), some of the devices has failed downloading the firmware.
But the problem is, that when trying to re-download the firmware (etc. rebooting) the device the log writes the following error message:
<wrn> azure_fota.azure_fota_msg_process: Update job (ID: 32) was already attempted, aborting
And then it won't try to download the firmware.
I've tracked the log down to line 686 in azure_fota.c where the following check is:
if (!is_new_job()) {