MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.3k stars 21.48k forks source link

Error on Download (0x30100007) #124908

Open DylanFromEdwards opened 1 day ago

DylanFromEdwards commented 1 day ago

Hi,

I'm trying to get a download of a file to work and I keep getting errors related to downloads.

The last error I receive is:

Action 'Download' complete. Result: 0 (failed), 806354951 (0x30100007) [ADUC_Workflow_WorkCompletionCallback:890]

Is there a document somewhere I can use to decode the error (0x30100007)?

This is related to swupdate:2 and I'm not using the simulator for this. I'm trying to do this one using a RaspPi with kernel 6 OS. I'm finding the troubleshooting to be problematic and I'm shooting in the dark here. I would prefer not to digging in the codebase to work out what's going on. Any help or advice will be much appreciated.

Kind regards, Dylan

TPavanBalaji commented 6 hours ago

@DylanFromEdwards It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!

DylanFromEdwards commented 1 hour ago

Thank you. I found what I needed in the end. Reading through repo documents and source.

For anyone experiencing the same with finding error code meanings. The following item.

https://github.com/Azure/iot-hub-device-update/blob/develop/docs/agent-reference/device-update-agent-extended-result-codes.md

Refers you to

https://github.com/Azure/iot-hub-device-update/blob/develop/src/inc/aduc/result.h

Where you can search for the error code you receive in the logs on failures.

An improvement to the logging may be to add the string of the error definition into the log output.