Skip to content

Cannot read properties of null (reading 'length') #496

@Lonestarjeepin

Description

@Lonestarjeepin

The problem

Edit: After the Outlook 500 issue was resolved and based on some further troubleshooting, I don't think this was related after all so I am removing links to the other issues:

I have been getting these errors intermittently (3-5 times per day), but I couldn't really track them down until now (I also realized the email comes out as GMT, not local time... duh). The callWithBackoff function seems to be working correctly, but the error comes after the code continues (on row 190 in Helpers where it's trying to evaluate calendarEvents.length).

I'm hoping this image embed works:
Image

Nothing secret here... it's a public calendar (GO FROGS!)

I also caught another of my calendars doing it, but this time it executed correctly in the script right before and right after this execution.

Image

Version of GAS-ICS-Sync

6.0 (Settings-v2)

Additional information & file uploads

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions