Gathers Habitica quest invite emails from the user's Gmail account and lists them in a Google Sheet, with columns for quest name, date/time invited, username, quest type, and email subject.
What is the bug?
TypeError: Cannot read properties of undefined (reading 'type')
listQuestInvites @ listQuestInvites.gs:121
Additional context
The script output 3 rows of data to the spreadsheet before the error popped up. The type that seemed to cause the issue was "Other" (for Find The Cub quest).
How often does this happen?
Every time the script is run. (In other words, the script isn't usable right now.)
Script version
v0.2.7 (beta)
Script settings
const LABEL_NAME = "02 Habitica_QuestInvites/2017"; // required
const START_DATE = ""; // yyyy-mm-dd, leave blank for no start date
const END_DATE = ""; // yyyy-mm-dd, leave blank for no end date
Additional info:
I also set the script to run on the quest emails from 2019, and it stopped with the same error, also just before the "Find The Cub" Quest.
What is the bug? TypeError: Cannot read properties of undefined (reading 'type') listQuestInvites @ listQuestInvites.gs:121
Additional context The script output 3 rows of data to the spreadsheet before the error popped up. The type that seemed to cause the issue was "Other" (for Find The Cub quest).
How often does this happen? Every time the script is run. (In other words, the script isn't usable right now.)
Script version v0.2.7 (beta)
Script settings
Additional info: I also set the script to run on the quest emails from 2019, and it stopped with the same error, also just before the "Find The Cub" Quest.