07-12-2023 23:16
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

07-12-2023 23:16
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
As per the documentation Client Credentials (fitbit.com) grant_type should be client_credentials but i am getting the error stating -
07-13-2023 05:54
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



07-13-2023 05:54
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Would you please explain the reason for using the client credentials grant flow? At Fitbit it is used for very specific use cases, none of which are collecting user data.
Gordon
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

07-13-2023 07:02
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

07-13-2023 07:02
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi Gordon ,
Thanks for the quick reply.
I want to use the FITBIT user's data from the server. so as per the manual documentation provided for developer i am following the steps and then i got that error.
Nachiket

07-14-2023 07:53
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



07-14-2023 07:53
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
The client credentials endpoint documentation states "This authorization flow is used with specific Fitbit API endpoints related to business operations. It is not supported by the public Web APIs to retrieve Fitbit user data." Therefore, you will not be able to get the user's data with this authorization flow. Instead, please try the authorization code grant flow. Instructions are documented here: https://dev.fitbit.com/build/reference/web-api/developer-guide/authorization/
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

