Keep Getting Code 1 Auth Failed

I am trying to Poll the T-Stat I am using the following Headers

GET /1/thermostatSummary?json={"selection":{"selectionType":"registered","selectionMatch":"","includeSensors":"true"}}
Host: api.ecobee.com
Accept: application/json
Content-Type: application/json;charset=UTF-8
Authorization: Bearer ____32Character______
Connection: keep-alive

I have URL Enconded the GET Request. But i keep getting this error :S

{ "status": { "code": 1, "message": "Authentication failed. Token is required." }}

I am new to OAuth but talking to some friends this looks correct. Any help would be greatful
1 person has
this problem
+1
Reply