You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SDK version used: Microsoft.Azure.Device.Client 1.33.1
Description of the issue
We use an instance of the Microsoft.Azure.Devices.ServiceClient class to invoke the direct methods and send the messages back to the devices. When the IoT Hub quota is exceeded and we call SendAsync() method on the service client instance then we get an exception. Unfortunately the Code property of the exception is set to InvalidErrorCode. But it should be set to IotHubQuotaExceeded. It was set to proper value in the past but now we see it's not working as expected. Btw, the message of the exception is set properly. But we can't do the decision based on it. We check a value of the Code property. Could you please look into it?
The text was updated successfully, but these errors were encountered:
Context
Description of the issue
We use an instance of the Microsoft.Azure.Devices.ServiceClient class to invoke the direct methods and send the messages back to the devices. When the IoT Hub quota is exceeded and we call SendAsync() method on the service client instance then we get an exception. Unfortunately the Code property of the exception is set to InvalidErrorCode. But it should be set to IotHubQuotaExceeded. It was set to proper value in the past but now we see it's not working as expected. Btw, the message of the exception is set properly. But we can't do the decision based on it. We check a value of the Code property. Could you please look into it?
The text was updated successfully, but these errors were encountered: