# Calendar Service API error messages

This section provides information about the error messages returned by the Calendar Service API methods.

### Generic error messages

The following table describes the error messages returned during the loading of the service provider.

Table: Service provider error messages
Error message | Description
--- | ---
`Calendar:Interface not supported` | The requested interface is not supported by the service provider.
`Calendar:Interface name missing` | The interface name is missing from the request.

The following table describes the error messages returned by asynchronous method calls.

Table: Asynchronous call error messages
Error message | Description
--- | ---
`Calendar:Cmd:Insufficent arguments for asynchronous request` | The `Callback` method is missing.

### GetList

The following table describes the error messages returned by `GetList` as part of its return value.

Table: GetList error messages
Error message | Description
--- | ---
`Calendar:GetList:Type is invalid` | The `Type` property is missing from input or it contains an invalid value.
`Calendar:GetList:Filter is invalid` | The `Filter` property contains a value with an invalid type.
`Calendar:GetList:DefaultCalendar is invalid` | The `Filter.DefaultCalendar` property contains a value with an invalid type.
`Calendar:GetList:Id is invalid` | The `Filter.id` property contains a value with an invalid type.
`Calendar:GetList:LocalId is invalid` | The `Filter.LocalId` property contains a value with an invalid type.
`Calendar:GetList:StartRange is invalid` | The `Filter.StartRange` property contains a value with an invalid type.
`Calendar:GetList:EndRange is invalid` | The `Filter.EndRange` property contains a value with an invalid type.
`Calendar:GetList:SearchText is invalid` | The `Filter.SearchText` property contains a value with an invalid type.
`Calendar:GetList:CalendarName is invalid` | The `Filter.CalendarName` property contains a value with an invalid type.

### Add

The following table describes the error messages returned by `Add` as part of its return value.

Table: Add error messages
Error message | Description
--- | ---
`Calendar:Add:Entry Type is invalid` | The `Type` property contains a value with an invalid type.
`Calendar:Add:InstanceStartTime is invalid` | The `Item.InstanceStartTime` property contains a value with an invalid type.
`Calendar:Add:LocalId is invalid` | The `Item.LocalId` property contains a value with an invalid type.
`Calendar:Add:Summary is invalid` | The `Item.Summary` property contains a value with an invalid type.
`Calendar:Add:Description is invalid` | The `Item.Description` property contains a value with an invalid type.
`Calendar:Add:Location is invalid` | The `Item.Location` property contains a value with an invalid type.
`Calendar:Add:Replication is invalid` | The `Item.Replication` property contains a value with an invalid type.
`Calendar:Add:Status is invalid` | The `Item.Status` property contains a value with an invalid type.
`Calendar:Add:Method is invalid` | The `Item.Method` property contains a value with an invalid type.
`Calendar:Add:SeqNum is invalid` | The `Item.SeqNum` property contains a value with an invalid type.
`Calendar:Add:Priority is invalid` | The `Item.Priority` property contains a value with an invalid type.
`Calendar:Add:StartTime is invalid` | The `Item.StartTime` property contains a value with an invalid type.
`Calendar:Add:EndTime is invalid` | The `Item.EndTime` property contains a value with an invalid type.
`Calendar:Add:AlarmTime is invalid` | The `Item.AlarmTime` property contains a value with an invalid type.
`Calendar:Add:PhoneOwner is invalid` | The `Item.PhoneOwner` property contains a value with an invalid type.
`Calendar:Add:Organizer is invalid` | The `Item.Organizer` property contains a value with an invalid type or the `Item.Organizer.Address` property is missing.
`Calendar:Add:Attendees is invalid` | The `Item.Attendees` property contains a value with an invalid type or the `Address` property of one of the items is missing.
`Calendar:Add:CommonName is invalid` | The `CommonName` property for an attendee contains a value with an invalid type.
`Calendar:Add:Address is invalid` | The `Address` property for an attendee contains a value with an invalid type.
`Calendar:Add:Role is invalid` | The `Role` property for an attendee contains a value with an invalid type.
`Calendar:Add:Status is invalid` | The `Status` property for an attendee contains a value with an invalid type.
`Calendar:Add:Rsvp is invalid` | The `Rsvp` property for an attendee contains a value with an invalid type.
`Calendar:Add:RepeatDates is invalid` | The `Item.RepeatDates` property contains a value with an invalid type or the values in the array are invalid.
`Calendar:Add:ExDates is invalid` | The `Item.ExDates` property contains a value with an invalid type or the values in the array are invalid.
`Calendar:Add:RepeatRule is invalid` | The `Item.RepeatRule` property contains a value with an invalid type.
`Calendar:Add:Type is invalid` | The `Item.RepeatRule.Type` property contains a value with an invalid type.
`Calendar:Add:Type is missing` | The `Item.RepeatRule.Type` property is missing from the input.
`Calendar:Add:DaysInWeek is invalid` | The `Item.RepeatRule.DaysInWeek` property contains a value with an invalid type or the values in the array are invalid.
`Calendar:Add:UntilDate is invalid` | The `Item.RepeatRule.UntilDate` property contains a value with an invalid type.
`Calendar:Add:RepeatRule:StartDate is invalid` | The `Item.RepeatRule.StartDate` property contains a value with an invalid type.
`Calendar:Add:Interval is invalid` | The `Item.RepeatRule.Interval` property contains a value with an invalid type.
`Calendar:Add:MonthDays is invalid` | The `Item.RepeatRule.MonthDays` property contains a value with an invalid type or the values in the array are invalid.
`Calendar:Add:DaysInWeek is invalid` | The `Item.RepeatRule.DaysInWeek` property contains a value with an invalid type or the values in the array are invalid.
`Calendar:Add:DaysOfMonth is invalid` | The `Item.RepeatRule.DaysOfMonth` property contains a value with an invalid type or the values in the array are invalid.
`Calendar:Add:RepeatRule:DaysOfMonth:Day` | The `Item.RepeatRule.DaysOfMonth.Day` property contains a value with an invalid type.
`Calendar:Add:RepeatRule:DaysOfMonth:WeekNumber` | The `Item.RepeatRule.DaysOfMonth.WeekNum` property contains a value with an invalid type.
`Calendar:Add:Month` | The `Item.RepeatRule.Month` property contains a value with an invalid type.
`Calendar:Add:Item is invalid` | The `Item` property contains a value with an invalid type.
`Calendar:Add:CalendarName is invalid` | The `Item.CalendarName` property contains a value with an invalid type.

### Delete

The following table describes the error messages returned by `Delete` and `callback` for `Delete` as part of their return value.

Table: Delete error messages
Error message | Description
--- | ---
`Calendar:Delete:Type is invalid` | The `Type` property contains an invalid value.
`Calendar:Delete:CalendarName is missing` | For a delete call with `Type = "Calendar"`, the `Data.CalendarName` property is missing from the input.
`Calendar:Delete:CalendarName is invalid` | The `Data.CalendarName` property contains a value with an invalid type.
`Calendar:Delete:StartRange is invalid` | The `Data.StartRange` property contains a value with an invalid type.
`Calendar:Delete:EndRange is invalid` | The `Data.EndRange` property contains a value with an invalid type.
`Calendar:Delete:DeleteAll is invalid` | The `Data.DeleteAll` property contains a value with an invalid type.
`Calendar:Delete:IdList is invalid` | The `Data.IdList` property contains a value with an invalid type.
`Calendar:Delete:LocalIdList is invalid` | The `Data.LocalIdList` property contains a value with an invalid type.
`Calendar:Delete:Data is missing` | For a delete call with `Type = "CalendarEntry"`, the `Data` property contains invalid data.
`Calendar:Delete:Data is invalid` | The `Data` property contains a value with an invalid type.

### Import

The following table describes the error messages returned by `Import` and `callback` for `Import` as part of their return value.

Table: Import error messages
Error message | Description
--- | ---
`Calendar:Import:CalendarName is invalid` | The `Data.CalendarName` property contains a value with an invalid type.
`Calendar:Import:FileName is invalid` | The `Data.FileName` property contains a value with an invalid type or the value exceeds 239 characters.
`Calendar:Import:Type is invalid` | The `Type` property contains an invalid value.
`Calendar:Import:Data is missing` | The `Data` property is missing from the input.
`Calendar:Import:Data is invalid` | The `Data` property contains a value with an invalid type.
`Calendar:Import:Format is missing` | The `Data.Format` property is missing from the input.
`Calendar:Import:FileName is missing` | The `Data.FileName` property is missing from the input.

### Export

The following table describes the error messages returned by `Export` and `callback` for `Export` as part of their return value.

Table: Export error messages
Error message | Description
--- | ---
`Calendar:Export:Type is invalid` | The `Type` property contains an invalid value.
`Calendar:Export:Data is missing` | The `Data` property is missing from the input.
`Calendar:Export:Data is invalid` | The `Data` property contains a value with an invalid type.
`Calendar:Export:Format is missing` | The `Data.Format` property is missing from the input.
`Calendar:Export:FileName is invalid` | The `Data.FileName` property contains a value with an invalid type or the value exceeds 239 characters.
`Calendar:Export:IdList is invalid` | The `Data.IdList` property contains a value with an invalid type.
`Calendar:Export:LocalIdList is invalid` | The `Data.LocalIdList` property contains a value with an invalid type.
`Calendar:Export:CalendarName is invalid` | The `Data.CalendarName` property contains a value with an invalid type.

### RequestNotification

The following table describes the error messages returned by `callback` for `RequestNotification` as part of its return value.

Table: RequestNotification error messages
Error message | Description
--- | ---
`Calendar:RequestNotification:CalendarName is invalid` | The `Filter.CalendarName` property contains a value with an invalid type.
`Calendar:RequestNotification:Type is invalid` | The `Type` property contains a value with an invalid type.
`Calendar:RequestNotification:StartRange is invalid` | The `Filter.StartRange` property contains a value with an invalid type.
`Calendar:RequestNotification:EndRange is invalid` | The `Filter.EndRange` property contains a value with an invalid type.
`Calendar:RequestNotification:IncludeUndatedTodos is invalid` | The `Filter.IncludeUndatedTodos` property contains a value with an invalid type.
`Calendar:RequestNotification:LocalIdList is invalid` | The `Filter.LocalIdList` property contains a value with an invalid type or the data in the array is invalid.
`Calendar:RequestNotification:Filter is invalid` | The `Filter` property contains a value with an invalid type.

### Cancel

The following table describes the error messages returned by `Cancel` as part of its return value.

Table: Cancel error messages
Error message | Description
--- | ---
`Calendar:Cancel:TransactionID is invalid` | The `TransactionID` property contains an invalid value or an asynchronous call associated with this ID has already been completed.
`Calendar:Cancel:TransactionID is missing` | The `TransactionID` property is missing from the input.