002749: The errorMessage keyword must return a text value.

Description

When using the errorMessage keyword in a script expression, the return must be text.

See Attribute rule script expression examples for more information.

Solution

Use a text value for the errorMessage return.