Parameter Validation Rules and Error Messages

Validation rules are enforced when defining parameters and, in some cases, when you deploy the MBO to Unwired Server. Error/warning messages are generated when validation rules are violated.

Table 1. MBO parameter validation error messages
Severity and message Action
Error: Invalid parameter name: {0}.

Maximum parameter name length is 64.

Warning: Structure of the parameter name does not match that of the mapping argument: {0}.  
Error: Duplicate parameter name: {0}.  
Error: No data type specified for parameter: {0}.  
Error: Mobile Business Object parameter ''{0}'' cannot have binary type.  
Error: Data type of the argument cannot map to the parameter: {0}.  
Warning: No argument is mapped to parameter ''{0}'' in Mobile Business Object.  
Warning: No argument is mapped to parameter ''{0}'' in operation ''{1}''.  
Warning: Non-updatable parameter must have Fill From Attribute defined: {0}.  
Error: Data type of the selected attribute cannot map to the parameter: {0}.  
Warning: Association target {0}''s parameter {1} must have personalization key or default value defined when it is not a target parameter of an association.  
Error: Parameter ''{0}'' cannot use personalization key because it has the ''Fill from attribute'' set and the attribute has ''Find By'' set.  
Error: Multiple parameters cannot map to same argument ''{0}''.  
Error: Invalid {0} name: {1}, which cannot use a reserved parameter name. The reserved parameter Name List is (Quotes excluded) : "count_bad_playback", "error_category", "error_message", "last_good_playback" "last_modified", "last_playback", "uagid", "uapbk", "uask" {0} will be parameter.
Warnning: The default value of parameter ''{0}'' should not be set to ''{1}'' when its ''Fill from attribute'' ''{2}'' has ''Find by'' set. You cannot set the default value to NULL for a primary key.
Warning: Parameter data length is larger than the mapped argument length, value truncation might occur: {0}.  
Error: ''Filter by'' parameter's data type must be the same as the from-attribute's: {0}.  
Warning: Parameter data length is shorter than the mapped from attribute length, value truncation might occur: {0}.  
Error: The max length of the operation parameter must be the same as the from-attribute''s: {0}.  
Warning: Operation ''{0}'' do not support old value argument.  
Error: Data type of the selected old value argument cannot map to the parameter: ''{0}'' in operation ''{1}''.  
Error: ''Old Value Argument'' and ''To Argument'' can not be same in the parameter ''{0}'' in operation ''{1}''.  
Warning: Optional parameter {0} must have a default value according to the mapping argument {1}, which is required.  
Warning: The old value argument '{0}' will be ignored when the parameter '{1}' has no 'Fill from attribute'.  
Warning: The old value argument '{0}' will be ignored when the parameter '{1}' is not 'Updatable'.  
Warning: The old value argument '{0}' will be ignored when the parameter '{1}' has no mapped argument.  
Error : Invalid parameter name: {0}, which cannot use a reserved parameter names. The reserved parameter Name List is: count_bad_playback, error_category, error_message, last_good_playback, last_modified, last_playback, uagid, uapbk, uask.
Warning: Parameter data length is larger than the mapped argument length, value truncation might occur: {0}.  
Error : ''Filter by'' parameter''s data type must be the same as the from-attribute''s: {0}.  
Warning: Parameter data length is shorter than the mapped from attribute length, value truncation might occur: {0}.  
Error : The max length of the operation parameter must be the same as the from-attribute''s: {0}.  
Warning: Operation ''{0}'' do not support old value argument.  
Error : Data type of the selected old value argument cannot map to the parameter: ''{0}'' in operation ''{1}''.  
Error : ''Old Value Argument'' and ''To Argument'' can not be same in the parameter ''{0}'' in operation ''{1}''.  
Warning: Optional parameter {0} must have a default value according to the mapping argument {1}, which is required.  
Warning: The old value argument '{0}' will be ignored when the parameter '{1}' has no 'Fill from attribute'.  
Warning: The old value argument '{0}' will be ignored when the parameter '{1}' is not 'Updatable'.  
Warning: The old value argument '{0}' will be ignored when the parameter '{1}' has no mapped argument.  


Created September 17, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com