Skip to content

Could not grant token #18

@yetdog

Description

@yetdog

Things broke around Dec 2020, getting this response in my error_log table:

{
	"code": 0,
	"message": "Could not grant token",
	"file": "\/opt\/sqlbee\/sqlbee.php",
	"line": 219,
	"backtrace": [{
		"file": "\/opt\/sqlbee\/sqlbee.php",
		"line": 123,
		"function": "refresh_token",
		"class": "sqlbee\\sqlbee",
		"type": "->",
		"args": ["mVYICl5iOcaQWvQb2l5mhz894AFkXTQU"]
	}, {
		"file": "\/opt\/sqlbee\/sqlbee.php",
		"line": 252,
		"function": "ecobee",
		"class": "sqlbee\\sqlbee",
		"type": "->",
		"args": ["GET", "thermostatSummary", {
			"body": "{\"selection\":{\"selectionType\":\"registered\",\"selectionMatch\":\"\"}}"
		}]
	}, {
		"file": "\/opt\/sqlbee\/setup.php",
		"line": 78,
		"function": "get_thermostat_summary",
		"class": "sqlbee\\sqlbee",
		"type": "->",
		"args": []
	}]
}

Tried going through a new app / PIN setup. Same deal. The "args" section of the json response changes when I use a new registration, but other than that stays the same. Setup.php process fails at "syncing..." with same error_log entry.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions