Help get this topic noticed by sharing it on Twitter, Facebook, or email.

Invalid selection. Selection missing. When using thermostat selectType

I'm getting the below error with this curl:

curl -k -X "POST" -H "Content-Type: application/json" -H "Accept: application/json" -H "Authorization: Bearer xxxxxxxxxxx" -d '{"selection":{"selectionType":"thermostat","selectionMatch":"54781496634"},"thermostat":{"settings":{"hvacMode":"off"}}}'

"status": {
"code": 9,
"message": "Invalid selection. Selection missing."

What am I doing wrong above? Is there a JSON format error?
1 person has
this problem