The /data command can be used to getting, the modification or deletion of various entity data. However, if you specify data in the command that does not exist, the command will still be executed successfully. Learn more about how to reproduce this:
Command: /summon minecraft:camel_husk ~ ~ ~ {NoAI:1,Silent:1}
Command: /data get entity @n[type=minecraft:camel_husk] BugTracker
The camel-husk data will not be received and an error message will appear.
Command: /data remove entity @n[type=minecraft:camel_husk] BugTracker
The camel-husk data will not be deleted and an error message will appear.
Command: /data merge entity @n[type=minecraft:camel_husk] {BugTracker:1}
A message will appear stating that the data of the camel-husk has been changed despite the fact that such data does not exist.
Thank you for helping us improve Minecraft! We saved your files: