Synchronization Validation Rules and Error Messages

These validation rules apply to synchronization parameters and are enforced during MBO development, and, in some cases, when you deploy the MBO to Unwired Server or synchronize a device application. Messages are generated when validation rules are violated.

Synchronization validation rules and error messages
Severity and message Cause Action

Error: Data type of the bound personalization key cannot map to the parameter: '<Para Name>'.

The datatype of the mapped personalization key differs from the datatype of the synchronization parameter, which may result in a synchronization failure.

Change the datatype of the personalization key to match the datatype of the synchronization parameter to which it maps.

Warning: Parameter data length is shorter than the bound personalization key’s data length, value truncation might occur: '<Para Name>'.

Datatype length mismatch.

Change the datatype length of the parameter or that of the personalization key so they match.

Error: The nullability of the parameter ‘<Para Name>‘ should be same with the personalization key: ‘<PK Name>‘.

The nullability of the parameter and the personalization key to which it maps do not match.

Change the nullability of the synchronization parameter or that of the personalization key so they match.

Error: Cannot specify ‘Query Limiting’ for synchronization parameter '<Para Name>' with list type personalization key.

The Query limiting option is selected for a parameter that has a list type personalization mapping.

Unselect Query limiting, which does not support mapping of list type personalization keys.

Error: Invalid default value '<Default value>' for the ‘{1}’ data type: '<Para Name>'.

{1} is an invalid datatype name.

Specify a valid default value.

Warning: Default value exceeds maximum length: '<Para Name>'.

The default value is longer than 100 characters.

Enter a default value that is less than 100 characters.

Error: Binary parameter default value cannot exceed 16384 byte: '<Para Name>'.

The default value length is more than 16384 bytes.

Shorten the default value.

Error: The data types of the parameter '<Para Name>' and the ‘Mapped to’ attribute '<Attr Name>' should match.

Datatype mismatch.

Change the datatype of the synchronization parameter, or map it to a different attribute, or change the datatype of the attribute to which it maps.

Warning: The nullability of the parameter '<Para Name>' should be the same as the attribute it is mapped to.

The nullability of the parameter and the attribute to which it maps do not match.

Change the nullability of the synchronization parameter or that of the attribute so they match.

Warning: The data length of the parameter '<Para Name>' is different from the data length of the its ‘Mapped to’ attribute '<Attr Name>'.

Datatype length mismatch.

Change the datatype length of the synchronization parameter or that of the attribute so they match.

Warning: No ‘Mapped to’ attribute specified for synchronization parameter: '<Para Name>'.

There is no Map to attribute defined for the parameter, which may lead to a synchronization failure.

Specify a Map to attribute for the synchronization parameter.

Error: Mobile business object '<MBO Name>' has more than one synchronization parameters that are mapped to multiple personalization keys.

More than one synchronization parameter is mapped to multiple list type personalization keys.

Remove any extra list type personalization key mappings. Only one synchronization parameter can be mapped to a list type personalization key.

Error: Synchronization parameter '<Para Name>' of type {0}, does not allow length greater than {2}.

The synchronization parameter length is too long:

{0} may be STRING or BINARY

{2} 8191 for STRING

32767 for BINARY

Shorten the datatype length.

Error: Invalid parameter name: '<Para Name>'. A valid identifier name must begin with an alphabetic character or an underscore, followed by alphanumeric characters or underscores.

An invalid parameter name is specified.

Enter a valid name.

Error: Invalid parameter name: '<Para Name>', name cannot be a Java or C# language.

The parameter name is a Java or C# keyword, such as binary, boolean, byte, char, date, datetime, time, decimal, double, float, object, int, integer, long, short, string, switch, and so on.

Do not use Java or C# keywords as parameter names.

Error: Invalid parameter name: '<Para Name>', the length must be less than 100.

The length of the parameter name is longer than 100 characters.

Enter a name shorter than 100 characters.

Error: Duplicate parameter name: '<Para Name>’.

The name of the parameter is the same as an existing synchronization parameter.

Enter a valid name.

Error: Object query cannot be empty.

A Customized download data query is empty.

Select Customized download data from the Synchronization tab in the Properties view, and define a valid object query.
Note: Unwired WorkSpace validates only that the query returns a result, not the syntax. You must verify that the query syntax is correct.