MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. RonR
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    R
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 10
    • Posts 41
    • Groups 0

    Posts

    Recent Best Controversial
    • Google Calendar error during Authorize

      I’m brand new to Magic Mirror have gotten my OpenWeather module working now I’m trying to get Google calendar to work. I have gone through the setup and to the Authorize step and it throws errors. I know the request worked because I see the next 10 calendar events on my terminal screen so I have some of it working.

      OH, I and running an RPI 4 with 4 gb ram and MM version 2.32.0

      The error log is:
      0|mm | [2025-07-23 19:03:05.712] [ERROR] MMM-GoogleCalendar Error. Could not fetch calendar: MyGoogleCalendarIDHere Error: Error
      0|mm | Message: Not Found
      0|mm | Stack: Error: Not Found
      0|mm | at Gaxios._request (/home/ron/MagicMirror/modules/MMM-GoogleCalendar/node_modules/gaxios/build/src/gaxios.js:142:23) ***Translate Response???
      0|mm | at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
      0|mm | at async OAuth2Client.requestAsync (/home/ron/MagicMirror/modules/MMM-GoogleCalendar/node_modules/google-auth-library/build/src/auth/oauth2client.js:429:18) ****r2 = await this.transporter.request(opts); ************
      0|mm | [2025-07-23 19:03:05.728] [ERROR] (node:1415) UnhandledPromiseRejectionWarning: TypeError: request?.response?.data?.error?.toUpperCase is not a function
      0|mm | at Class.checkForHTTPError (/home/ron/MagicMirror/modules/MMM-GoogleCalendar/node_helper.js:257:44)
      0|mm | at /home/ron/MagicMirror/modules/MMM-GoogleCalendar/node_helper.js:301:30
      0|mm | at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
      0|mm | (Use electron --trace-warnings ... to show where the warning was created)
      0|mm | [2025-07-23 19:03:05.731] [ERROR] (node:1415) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)

      If you see a series of ‘*’ it is what I found at the line number the error points at.

      Authorize.js is supposed to return a URL to use in MM but I get the errors.

      Thanks in advance for any help.

      posted in Troubleshooting
      R
      RonR
    • 1
    • 2
    • 3
    • 4
    • 5
    • 5 / 5