-
Notifications
You must be signed in to change notification settings - Fork 96
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug Description
I have connected Task Notes with Google Calendar using OAuth. The events are loaded correctly and I can see them in the calendar view. When I click on "Sync All Tasks", some tasks are synced incorrectly (around 60% out of 350 tasks).
I think the plugin is making 600+ requests in less than a minute which is over the maximum quota allowed. The issue is probably with the recurrent tasks without an end date.
Some logs:
plugin:tasknotes:1118 Failed to fetch events from calendar string1@import.calendar.google.com: Error: Request failed, status 403
at t [as constructor] (app.js:1:1265082)
at XS (app.js:1:1265274)
at app.js:1:1265953
at app.js:1:258511
at Object.next (app.js:1:258616)
at a (app.js:1:257334)
plugin:tasknotes:1118 Failed to fetch events from calendar string1@import.calendar.google.com: Error: Failed to fetch calendar events: Request failed, status 403
at Rk.fetchCalendarEvents (plugin:tasknotes:1118:9598)
at async Rk.refreshAllCalendars (plugin:tasknotes:1118:10484)
at async Rk.updateEvent (plugin:tasknotes:1118:13283)
at async Bk.syncTaskToCalendar (plugin:tasknotes:1119:2507)
at async eval (plugin:tasknotes:1119:6312)
...
plugin:tasknotes:1119 [TaskCalendarSync] Failed to sync task: tasks/task1.md TokenExpiredError: google authentication expired. Please reconnect.
at Rk.updateEvent (plugin:tasknotes:1118:13448)
at async Bk.syncTaskToCalendar (plugin:tasknotes:1119:2507)
at async eval (plugin:tasknotes:1119:6312)
at async Bk.processInParallel (plugin:tasknotes:1118:30381)
at async Bk.syncAllTasks (plugin:tasknotes:1119:6267)
at async onClick (plugin:tasknotes:219:48746)
plugin:tasknotes:1118 Failed to create Google Calendar event: Error: Request failed, status 403
at t [as constructor] (app.js:1:1265082)
at XS (app.js:1:1265274)
at app.js:1:1265953
at app.js:1:258511
at Object.next (app.js:1:258616)
at a (app.js:1:257334)
...
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Projects
Status
No status