Set any attribute value and repeat the command. The value will be changed, but in reality this is not the case and an error message should be displayed.
To reproduce
While having a base bounciness attribute of 0d (the default), run /attribute @s minecraft:bounciness base reset
❌ The command succeeds even though no changes were made
Thank you for helping us improve Minecraft! We saved your files: