10-28-2015 08:24
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-28-2015 08:24
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Just starting with the API, can't get past the auth call.
"Invalid authorization header. Client secret invalid. Visit https://dev.fitbit.com/docs/oauth2 for more information on the Fitbit Web API authorization process."
host:api.fitbit.com
method:POST
path:/oauth2/token
scheme:https
version:HTTP/1.1
authorization:Basic {base64 client_id:client_secret}
content-length:143
content-type:application/x-www-form-urlencoded
I've verified base 64 encoding of client ID and secret, and that the ID and secret are correct for my app. Any suggestions to troubleshoot? Thanks!
Answered! Go to the Best Answer.
Accepted Solutions
10-28-2015 13:00
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-28-2015 13:00
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Sorry, false alarm. I tripled checked the base 64 encoding of the auth header with a different encoder and got different results which works.

10-28-2015 13:00
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-28-2015 13:00
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Sorry, false alarm. I tripled checked the base 64 encoding of the auth header with a different encoder and got different results which works.

