Code 2 error on thermostat call to a thermostat in my hierarchy set

I get a status code 2 error for a thermostat that is in my hierarchy list. This happens occassionally for a few thermostats I try to access. Please help resolve.

request:

https://api.ecobee.com/1/thermostat?body={"selection":{"includeManagement":"true","includeOemCfg":"true","includeHouseDetails":"true","includeAlerts":"true","includeEvents":"true","includeDevice":"true","includeEquipmentStatus":"true","includeUtility":"true","selectionMatch":---,"selectionType":"thermostats","includeSettings":"true","includeElectricity":"true","includeProgram":"true","includeTechnician":"true","includeWeather":"true","includeLocation":"true"}}&format=json


response:

{
"status": {
"code": 2,
"message": "Not authorized. Selection thermostat(s) not permitted for user: -"
}
}
1 person has
this question
+1
Reply