403002 IoTHubQuotaExceeded403002 IoTHubQuotaExceeded
本文介绍 403002 IoTHubQuotaExceeded 错误的原因和解决方案。This article describes the causes and solutions for 403002 IoTHubQuotaExceeded errors.
症状Symptoms
对 IoT 中心的所有请求都失败,并出现错误 403002 IoTHubQuotaExceeded。All requests to IoT Hub fail with the error 403002 IoTHubQuotaExceeded. 在 Azure 门户中,无法加载 IoT 中心设备列表。In Azure portal, the IoT hub device list doesn't load.
原因Cause
已超过 IoT 中心的每日消息配额。The daily message quota for the IoT hub is exceeded.
解决方案Solution
升级或增加 IoT 中心的单位数,或等待下一 UTC 日期,以刷新每日配额。Upgrade or increase the number of units on the IoT hub or wait for the next UTC day for the daily quota to refresh.
后续步骤Next steps
- 若要了解如何将操作计入配额(如孪生查询和直接方法),请参阅了解 IoT 中心定价To understand how operations are counted toward the quota, such as twin queries and direct methods, see Understand IoT Hub pricing
- 若要针对每日配额使用情况来设置监视,请设置一个警报,其指标为“使用的消息总数”。 To set up monitoring for daily quota usage, set up an alert with the metric Total number of messages used. 有关分步说明,请参阅使用 IoT 中心设置指标和警报For step-by-step instructions, see Set up metrics and alerts with IoT Hub