Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module not loading #28

Open
aunrea opened this issue Aug 12, 2024 · 5 comments
Open

Module not loading #28

aunrea opened this issue Aug 12, 2024 · 5 comments

Comments

@aunrea
Copy link

aunrea commented Aug 12, 2024

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
Copy link
Owner

@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
Copy link
Author

aunrea commented Aug 13, 2024

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
Copy link
Author

aunrea commented Sep 11, 2024

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

@tylerstambaugh
Copy link
Owner

Are you referencing step 11 on Strava's instructions?

@aunrea
Copy link
Author

aunrea commented Sep 13, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants