-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Having some issues getting data to show from fitbit. I have the Client ID & Secret in the credentials.ini, and have run the setupaccess.py from the PI itself. but running this command to verify its pulling data is failing. any help or input would be appreciated.
sudo python getData.py
output:
pi@raspberrypi:~/MagicMirror/modules/MMM-fitbit/python $ sudo python getData.py
{"message": "credentials.ini exists", "type": "status"}
{"message": "Reading from credentials.ini", "type": "status"}
{"message": "Read of credentials.ini successful.", "type": "status"}
{"message": "credentials.ini exists", "type": "status"}
{"message": "Reading from credentials.ini", "type": "status"}
{"message": "Read of credentials.ini successful.", "type": "status"}
{"message": "tokens.ini exists", "type": "status"}
{"message": "Reading from tokens.ini", "type": "status"}
{"message": "Read of tokens.ini successful.", "type": "status"}
{"message": "Making API call", "type": "status"}
{"message": {"401": {"errors": [{"message": "Invalid authorization header format. Visit https://dev.fitbit.com/docs/oauth2 for more information on the Fitbit Web API authorization process.", "errorType": "invalid_client"}], "success": false}}, "type": "error"}
{"message": "API call failed", "type": "status"}
{"message": "Error when making API call that I couldn't handle", "type": "status"}
``'
-Aaron
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels