Hello,
I have noticed that on several occasion some of my devices have had certain attibutes cleared/deleted. ( Not Tags ) . I do not have any workflows that would overwrite or set new values to those attributes. Any ideas as to why that would happen ?
When you say “certain attributes cleared/deleted”, do you mean that the attribute has been removed from the device configuration? As in it’s no longer defined on the device?
Things that can cause that:
- Removing the attribute in the user interface on the device detail page
- A bulk device update with an operation that affects attributes
- An API request against the Device: Patch, Devices: Patch (bulk update), or Device Attribute: Delete endpoints, authenticated with a user token, application API token, or as a device
- A workflow invoking a Device: Update Node or a Losant API Node that uses one of the methods described above
- An application import that matches a device by name and overwrites the device configuration
Or do you mean that data reported for that attribute is being cleared? Values can be cleared by …
- Overwriting previous device state
- Deleting device data
- Old data being removed due to TTL settings on the organization
Dylan
The attributes themselves remain, but the values are cleared.
None of those scenerios are present on my end:
In that case can you provide more details about where you’ve seen this occur?
- Device ID
- Attribute(s) whose value disappeared
- The timestamp, approximately, of the value that has disappeared
Dylan
Looks like they got erased outside the 180 day window so I cant see when it happened, only the date I re-set them to what should have been default. I’ll watch for to happen again and loop back with some better details.