-
I need your help guys, I was successful GET api requests for could of days. at some point it stoped. I tried remove the app from my Trakt; get a new code, token but I keep getting a 401 back. my app is registered in my personal trakt.... what am I missing here. pi@raspberry:/var/log/openhab2 $ curl --include --request POST --header "Content-Type: application/json" --data-binary "{"code": "CODE", "client_id": "CLIENTID","client_secret": "CLIENTSECRET"}" 'https://api.trakt.tv/oauth/device/token' {"access_token":"TOKEN!","token_type":"bearer","expires_in":7776000,"refresh_token":"REFRESHTOKEN","scope":"public","created_at":1613575833}pi@raspberry:/var/log/openhab2 $ ^C |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The authorization is missing the Bearer part.
|
Beta Was this translation helpful? Give feedback.
The authorization is missing the Bearer part.
Authorization: Bearer [token]