# Device availability status not changing when measurments created using sdk api

**URL:** <https://community.cumulocity.com/t/device-availability-status-not-changing-when-measurments-created-using-sdk-api/3883>\
**Category:** Forum\
**Tags:** cumulocity\
**Created:** [April 16, 2024, 11:27am UTC](https://community.cumulocity.com/t/device-availability-status-not-changing-when-measurments-created-using-sdk-api/3883 "2024-04-16T11:27:56Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Stefan\_Witschel](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/stefan_witschel/32/31955_2.png) [@Stefan\_Witschel](https://community.cumulocity.com/u/Stefan_Witschel)\
**Post date:** [April 16, 2024, 12:18pm UTC](https://community.cumulocity.com/t/device-availability-status-not-changing-when-measurments-created-using-sdk-api/3883/2 "2024-04-16T12:18:58Z")

</div>

Hi @mohanbp

check this: [Device not showing online - #2 by Stefan\_Witschel](https://community.cumulocity.com/t/device-not-showing-online/3607/2)  
and this: [Device connection and status - #2 by Reuben\_Miller2](https://community.cumulocity.com/t/device-connection-and-status/7549/2)

Basically you need to remove the `X-Cumulocity-Application-Key` header from the request or sending additional empty PUT requests (without the header) to update the status manually.

> **[General aspects - Cumulocity documentation](https://cumulocity.com/docs/microservice-sdk/general-aspects/)**
>
> This documentation offers comprehensive information on the Cumulocity platform both from a user and from a developer perspective. It reflects the latest state of the Cumulocity platform and is continuously updated to align with recent software...

---

_[View the full topic](https://community.cumulocity.com/t/device-availability-status-not-changing-when-measurments-created-using-sdk-api/3883)._
