Open raindrift opened 8 years ago
We have been able to attach and send invites that fail on a first import in subsequent emails and see them successfully import, proving the success/failure is not predictable.
Received a note from the Nylas team that may be related: "We've identified a potential cause for the issue. It appears that if a message has an attached invitation and was sent by the account owner, then we aren't creating an event object for it."
Incoming messages have the
events
array, containing attached calendar events. Sometimes, when an iCalendar file is attached to a message, the events are set properly. Other times,events
is blank. This is true in the delta stream, or if the message is re-fetched from the API later.We can reproduce by sending the same .ics file as an attachment many times. It works sometimes and not others. There doesn't seem to be anything that can predict it.
Here is a sample .ics that we've been using to test:
We have verified that this sample data parses correctly with the icalendar python module, and that the relevant sync engine code (inbox/events/ical.py) can extract valid data from the parsed result.