October 31, 2024 - Allowing LWM2M device to send empty payload without content-type data

Change Header


Change Type: Improvement
Product area: Device Management & Connectivity
Component: LWM2M
Deployed at: eu.latest.cumulocity.com, apj.cumulocity.com, jp.cumulocity.com, cumulocity.com, us.cumulocity.com, emea.cumulocity.com

Technical details

Build artifact: lwm2m-agent (10.20.385.0)
Internal ID: DM-3989

Change Description


The LWM2M specification allows devices to send an empty payload when there is no data to report.
In case of an empty payload, no content-type is required.
Previously, LWM2M agents would reject messages with an empty payload and no content-type.
Now, these messages will be accepted and processed as intended.