Skip to main content

 

 

 

 
Language:
 
Service Studio version:
 
 
OutSystems

Invalid Data Type Error

Template:OutSystems/Documentation_KB/ContentCollaboration
  • Edit
    Collaborate with us
    Edit this page on GitHub
  • The Invalid Data Type Error is issued, for example, when you use an Expression widget or a REST API method.

    Double-click on the error line in TrueChange to take you directly to the expression that is issuing the error.

    Incompatible data types in <operator> operator

    Cause

    You are using data types with an operator which are not compatible with it.

    Recommended action

    Check the data types for the <operator> and ensure you use only allowed data types in the operation.

    <data-type-needed> data type required instead of <data-type-used>

    Cause

    You are using a property or operator which is set with the incorrect data type, <data-type-used>.

    Recommended action

    Set the property or operator to the correct <data-type-needed>.

    Invalid 'Null Value' data type for specified variable

    Cause

    You are using a Null Value property which is incompatible with the Variable assigned to the Input widget.

    Recommended action

    Set the Null Value property to a value of the same data type as the Variable assigned to the Input widget. For example, if you assigned a Boolean variable to the Input, set Null Value as False.

    Cannot send a 'Binary Data' parameter in the request <send in> of a method with <request format> request format. Change the parameter data type or the method request format.

    Cause

    In a REST API method request, you are defining a parameter and setting it to the Binary Data data type, and the method request format does not correspond with this.

    Recommended action

    Change the data type of the parameter or the request format of the REST API method.

    • Was this article helpful?