404001 DeviceNotFound

This article describes the causes and solutions for 404001 DeviceNotFound errors.

Symptoms

During a cloud-to-device (C2D) communication, such as C2D message, twin update, or direct method, the operation fails with error 404001 DeviceNotFound.

Cause

The operation failed because the device cannot be found by IoT Hub. The device is either not registered or disabled.

Solution

Register the device ID that you used, then try again.