# Landmarks Service API error messages

This section provides information about the error messages returned by the Landmarks 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
--- | ---
`Landmarks: Interface name is missing` | The interface name is missing from the request.
`Landmarks: Service Command is invalid` | The command passed is not supported by the interface.
`Landmarks: Database URI is invalid` | The database URI passed when loading the interface is invalid.

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

Table: Asynchronous call error messages
Error message | Description
--- | ---
`Landmarks: Insufficient arguments for asynchronous request` | The `callback` method is missing.
`Landmarks: Asynchronous behavior not supported` | The method does not support asynchronous calls.

### New

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

Table: New error messages
Error message | Description
--- | ---
`Landmarks: New: Type is missing` | The `Type` property is missing from the input or it contains a value with an invalid type.
`Landmarks: New: Type is invalid Type` | The `Type` property contains an invalid value.

### GetList

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

Table: GetList error messages
Error message | Description
--- | ---
`Landmarks: GetList: Type is missing` | The `Type` property is missing from the input or it contains a value with an invalid type.
`Landmarks: GetList: Type is invalid` | The `Type` property contains an invalid value.
`Landmarks: GetList: Filter is missing` | The `Filter` property is missing from the input or it contains a value with an invalid type.
`Landmarks: GetList: LandmarkPosition is missing` | The `Filter.LandmarkPosition` property is missing from the input or it contains a value with an invalid type.
`Landmarks: GetList: Latitude is missing` | The `Filter.LandmarkPosition.Latitude` property is missing from the input or it contains a value with an invalid type.
`Landmarks: GetList: Longitude is missing` | The `Filter.LandmarkPosition.Longitude` property is missing from the input or it contains a value with an invalid type.
`Landmarks: GetList: BoundedArea is missing` | The `Filter.BoundedArea` property is missing from the input or it contains a value with an invalid type.
`Landmarks: GetList: NorthLatitude is missing` | The `Filter.BoundedArea.NorthLatitude` property is missing from the input or it contains a value with an invalid type.
`Landmarks: GetList: SouthLatitude is missing` | The `Filter.BoundedArea.SouthLatitude` property is missing from the input or it contains a value with an invalid type.
`Landmarks: GetList: EastLongitude is missing` | The `Filter.BoundedArea.EastLongitude` property is missing from the input or it contains a value with an invalid type.
`Landmarks: GetList: WestLongitude is missing` | The `Filter.BoundedArea.WestLongitude` property is missing from the input or it contains a value with an invalid type.
`Landmarks: GetList: MaximumMatches is invalid` | The `Filter.MaximumMatches` property is missing from the input or it contains a value with an invalid type.
`Landmarks: GetList: Sort is missing` | The `Sort` property is missing from the input or it 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
--- | ---
`Landmarks: Add: Type or Data is missing` | The `Type` or `Data` property is missing from the input.
`Landmarks: Add: Type is invalid` | The `Type` property contains an invalid value.
`Landmarks: Add: Data is missing` | The `Data` property is missing from the input or it contains a value with an invalid type.
`Landmarks: Add: LandmarkPosition is missing` | The `Data.LandmarkPosition` property is missing from the input or it contains a value with an invalid type.
`Landmarks: Add: CategoryInfo is missing` | The `Data.CategoryInfo` property is missing from the input or it contains a value with an invalid type.
`Landmarks: Add: IconIndex is missing` | The `Data.IconIndex` property is missing from the input or it contains a value with an invalid type.
`Landmarks: Add: LandmarkFields is missing` | The `Data.LandmarkFields` property is missing from the input or it contains a value with an invalid type.
`Landmarks: Add: CategoryName is missing` | The `Data.CategoryName` property is missing from the input or it contains a value with an invalid type.
`Landmarks: Add: DatabaseURI is missing` | The `Data.DatabaseURI` property is missing from the input or it contains a value with an invalid type.

### Delete

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

Table: Delete error messages
Error message | Description
--- | ---
`Landmarks: Delete: Type or Data is missing` | The `Type` or `Data` property is missing from the input.
`Landmarks: Delete: Type is invalid` | The `Type` property contains an invalid value.
`Landmarks: Delete: Data is missing` | The `Data` property is missing from the input or it contains a value with an invalid type.
`Landmarks: Delete: Id is missing` | The `Data.id` property is missing from the input or it contains a value with an invalid type.
`Landmarks: Delete: DatabaseURI is missing` | The `Data.DatabaseURI` property is missing from the input or it contains a value with an invalid type.

### Import

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

Table: Import error messages
Error message | Description
--- | ---
`Landmarks: Import: Type or Data is missing` | The `Type` or `Data` property is missing from the input.
`Landmarks: Import: Type is invalid` | The `Type` property contains an invalid value.
`Landmarks: Import: Data is missing` | The `Data` property is missing from the input or it contains a value with an invalid type.
`Landmarks: Import: MimeType is missing` | The `Data.MimeType` property is missing from the input or it contains a value with an invalid type.
`Landmarks: Import: SourceFile is missing` | The `Data.SourceFile` property is missing from the input or it contains a value with an invalid type.

### Export

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

Table: Export error messages
Error message | Description
--- | ---
`Landmarks: Export: Type or data is missing` | The `Type` or `Data` property is missing from the input.
`Landmarks: Export: Type is invalid` | The `Type` property contains an invalid value.
`Landmarks: Export: Data is missing` | The `Data` property is missing from the input or it contains a value with an invalid type.
`Landmarks: Export: MimeType is missing` | The `Data.MimeType` property is missing from the input or it contains a value with an invalid type.
`Landmarks: Export: DestinationFile is missing` | The `Data.DestinationFile` property is missing from the input or it contains a value with an invalid type.
`Landmarks: Export: IdList is missing` | The `Data.IdList` property is missing from the input or it contains a value with an invalid type.
`Landmarks: Export: IdList is empty` | The `Data.IdList` property contains no IDs.

### Organise

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

Table: Organise error messages
Error message | Description
--- | ---
`Landmarks: Organise: Type or Data or OperationType is missing` | The `Type`, `Data`, or `OperationType` property is missing from the input.
`Landmarks: Organise: Type is invalid` | The `Type` property contains an invalid value.
`Landmarks: Organise: Data is missing` | The `Data` property is missing from the input or it contains a value with an invalid type.
`Landmarks: Organise: Id is missing` | The `Data.id` property is missing from the input or it contains a value with an invalid type.
`Landmarks: Organise: IdList is missing` | The `Data.IdList` property is missing from the input or it contains a value with an invalid type.
`Landmarks: Organise: IdList is empty` | The `Data.IdList` property contains no IDs.
`Landmarks: Organise: OperationType is missing` | The `OperationType` property is missing from the input or it contains a value with an invalid type.
`Landmarks: Organise: OperationType is invalid` | The `OperationType` property contains an invalid value.

### Cancel

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

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