Open williamiwell opened 6 days ago
Can you share a bit more about the direct method payload you are sending?
The payload is a json with protobuf base64 string, for example
{ "byteArrayBase64": "CiENAAB6RBIMCPKt1rcGEKiz05sBGgwIrq7WtwYQqLPTmwE=" }
The code below is used to set the payload:
var payloadJson = JsonConvert.SerializeObject(payload, jsonSerializerSettings); cloudToDeviceMethod.SetPayloadJson(payloadJson);
Context
Description of the issue
We use IotHub to send messages from our cloud to edge devices, using the InvokeDeviceMethodAsync method. This worked fine until 25-September-2024 19:00 UTC, but now we receive error code 400000. We can't find any information about this code, it's not listed in the common error codes docs.
We are using the latests nuget package: microsoft.azure.devices/1.39.1. The devices are online and are able to send device to cloud messages.
Any idea what is going on and if we can resolve this or that is related to an IotEdge issue? Our IotHub is located in West Europa.
Code sample exhibiting the issue
this throws the exception below: