The Invalid User Function error is issued in the following situations:

Either set the Function property to No or correct the number of output parameters for the action.

Clicking the symbol will take you directly to the user-defined action offending property.

See Also

Expose an Action as a User Function | About Error Messages