Hello @Somiya ,
Are you curious about the content of messages sent to an IoT Hub?
Check out the free Azure IoT Explorer:
Please add an extra consumer group to the IoT Hub built-in endpoint like 'explorer'.
If you use that $default while it's also reserved by another Azure service (eg. Time Series Insights or Stream Analytics) there is a 'collision' which results in missing messages and errors.