This also happened to me too. I have been getting the same error by testing the biome the player is in.
[media]
Here is the Behavior Pack I encountered the error in. Extract it as zip then go to animation_controllers, temperaturetest.json and see the queries.
(Version: v1.16.201)
Nevermind. I found out that you only need to enable "Additional modding capabilities" in the world settings. I hope that helps anyone else that has this same issue.