Error adding sensors to group

I am having some problems adding members to an existing group using the suggested terminal command. The error description I get is

“description” : “Cannot find a sensor with the provided parameters.”

If I use the same parameters on Loading..., it works fine. Any suggestions appreciated, thanks.