IoTHub quotas

Damir Dobric Posts

Next talks:

 

    

Follow me on Twitter: #ddobric



 

 

Archives

 

When working with IoTHub, you might get following exception:

An exception of type 'Microsoft.Azure.Devices.Client.Exceptions.DeviceMaximumQueueDepthExceededException' occurred in mscorlib.dll but was not handled in user code

Additional information: Total number of messages on IotHub 'daenethub' exceeded the allocated quota. Max allowed message count : '3000', current message count : '3051'. Send and Receive operations are blocked for this hub until the next UTC day. Consider increasing the units for this hub to increase the quota.

Tracking Id:f01b0ef85c69481ab7c6aaa99ed92611-G:7-TimeStamp:11/08/2015 13:43:32

 

This basically means, that you have reached the quota on IoTHub. The bad news is that you cannot simply increase the number of messages set by quota as described in the error message above. The good news is that quota can be increased by selecting of the higher pricing model in azure portal for IoT Hub. Error shown above says that I sent already 3051 message of allowed 3000 per day of the free hub subscription. To solve the issue, you will have to upgrade IoTHub to S1 or S2 subscription.

image


Posted Nov 10 2015, 07:50 AM by Damir Dobric
developers.de is a .Net Community Blog powered by daenet GmbH.