As per the documentation Client Credentials (fitbit.com) grant_type should be client_credentials but i am getting the error stating -
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
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
Best AnswerHi 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
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
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/
Best Answer