Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Getting a 403 Permissions error when trying to get Activity Log List

I'm registered my own account and successfully signed up to a subscription. I get a daily summary and can call for the data from activities.
I want to be able to determine if an activity has been created manually on the Fitbit app and ignore those activities. The Fitibit documentation tells me I need to user Get Activity Log List to get a list of activities with the logType data included.
Using CURL to call "https://api.fitbit.com/1/user/-/activities/list.json" with the required parameters returns a 403 error and a message about permissions. I have tried using GET and POST, beforeDate and afterDate and I still get the same error. I am using the same CURL format as my other, successful calls to other endpoints.

Has anyone else had the same problem?

Best Answer
0 Votes
2 REPLIES 2

I get the same error when trying to access a list of subscriptions for a user, even though I am using a valid access token. I can get data for activities for a certain date using that access token, and my app has full access scope in the user's fitbit account.

Best Answer
0 Votes

Hi @Stenoosh 

The 403 error could mean your access token doesn't have permissions to query the activity data, or possibly you're using the incorrect syntax.   I would suggest trying the following things

  1. If you're querying data from your account, try reconsenting again to the activity data.
  2. Double-check the syntax you're providing and make certain you're using all of the required query parameters.  You will need to use either beforeDate or afterDate, not both.

If you're still getting the 403 error, please provide the entire endpoint syntax here.

Best Answer
0 Votes