randomBrainstormer/MMM-GoogleCalendar

Error_Auth_Needed

Opened this issue · 4 comments

Hi, I followed all of the steps and authenticated, but it still comes up with this message on my Magic Mirror display.

Hi @ianlube, are you able to see any errors in the logs?

So I am having this same issue, went through everything twice to make sure I was getting it done properly. I am about 90% sure I followed everything properly, however that other 10% is there because it is not working at this point. My log reads:
[2024-08-27 15:10:17.015] [LOG] undefined: Error loading token: [Error: ENOENT: no such file or directory, open 'C:\Users\gfmcc\magicmirror\modules\MMM-GoogleCalendar\token.js'] {
errno: -4058
Code: 'ENOENT'
syscall: 'open'
path: 'C:\Users\gfmcc\magicmirror\modules\MMM-GoogleCalendar\token.json'
} Make sure you have authorized the app.

Then a bunch of other error about Autofill

Where did I go wrong?

Thanks for reaching out, @gfmccutc77! It looks like there's an issue with the authorization process, and your token.js file wasn't generated. As mentioned in the troubleshooting section, you need to run authorize.js to auto-generate the token file. If you've already run node authorize.js and the error persists, please check for any issues during the Google authentication process.

I had ran the "node authorize.js" previously, but I ran it again to double check and it seems to have fixed the issue. Thank you for the quick response, I appreciate it. And thank you for the module work, it is going to be used as a chore list for my kids.