tylerstambaugh / MMM-StravaWeekInBike

A magic mirror module for displaying last week's bike stats
MIT License
2 stars 2 forks source link

Module not loading #28

Open aunrea opened 1 month ago

aunrea commented 1 month ago

I only see the title of the module, no content. Looking at the loaded code the div where the module content goes is empty.

In the console I have this error: NodeHelper log: "MMM-StravaWeekInBike - Node helper getStravaStats - Error fetching data from API: AxiosError: Request failed with status code 401

tylerstambaugh commented 1 month ago

@aunrea A 401 indicates an issue with the token. Did you follow the steps Strava outlines for getting a bearer token? Are you using any other MM modules that use your Strava bearer token? Are you able to use Postman or similar tool to verify the token is valid and has the required scopes?

aunrea commented 1 month ago

Yes, I followed the instructions. I have no other module using the token. Postman says the token is valid and has the read-all scope. Am I supposed to use the authorization code with the module? It's not listed in the example config.

aunrea commented 3 weeks ago

How am I supposed to do step 11? It's not clear with your module.

tylerstambaugh commented 3 weeks ago

Are you referencing step 11 on Strava's instructions?

aunrea commented 3 weeks ago

Yes. I am not sure how I apply it to your modules.