Help Center> IoT Device Access> FAQs> Subscription and Push> Why Does the Application Receive Multiple Push Messages After a Device Reports a Piece of Data?

Why Does the Application Receive Multiple Push Messages After a Device Reports a Piece of Data?

The possible causes are as follows:

  • If notifyType is deviceDataChanged and the contents of the multiple push messages are different, the data reported by the device may involve multiple services (the data parameter contains multiple JSON objects). As a result, the IoT platform splits the data into multiple push messages.
  • If two messages are received, and notifyType of one message is deviceDataChanged and notifyType of the other is deviceDatasChanged, you have subscribed to both device data change notifications and batch device data change notifications. As a result, the platform pushes two messages.
  • If the same message is pushed repeatedly, the application may not return a response to the push message in a timely fashion. The platform considers the push to have failed and enables re-push.