So I have noticed that the JSON definition for the History Sample Rate is not correct. The Tag Group mode is listed as TagGroupRate but according to a JSON export from a gateway it should be TagGroup