07-12-2023 23:16
07-12-2023 23:16
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
07-13-2023 05:54
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
07-13-2023 07:02
07-13-2023 07:02
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
07-14-2023 07:53
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/