"Error getting default calendar for new reminders"

I'm getting an error that says:


2017-11-09 04:08:49.307068-0600 TrialMapProximity[778:262739] [EventKit] Error getting default calendar for new reminders: Error Domain=EKCADErrorDomain Code=1019 "(null)"


when I use the defaultCalendarForNewReminders() method of EKEventStore.


This error did not occur in my old iPhone. It occurs on my new iPhone - iPhone 8. Anyone have any ideas why? Where can I look up what certain error codes mean?

Replies

Encounter same issue here? Anyone can help?