This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Data type mismatch -- ERR #6 Line 1472> End If

Hi!

I got this error mesage (Data type mismatch -- ERR #6 Line 1472> End If) and I cant trace it.

Any thoughts!


Thanks!

Parents
  • 0  

    Hi. This error is the result of an error in an AppScript. Do you know how to reproduce the issue? It would likely be invoked via a transition or maybe via a script run in URL context.

    The line number is generally the line in the script invoked by the above method. If the script has include statements, then the line number is the effective line number if you added up the lines included up to that point in the script.

    In other words, if you include a script that has 1470 lines and your main script looks like this:

    Line 1: If...

    Line 2: End If

    You would get the error message you received reporting an error on line 1472.

    The issue is probably in the corresponding If statement but could be on the line preceding the End If.

Reply
  • 0  

    Hi. This error is the result of an error in an AppScript. Do you know how to reproduce the issue? It would likely be invoked via a transition or maybe via a script run in URL context.

    The line number is generally the line in the script invoked by the above method. If the script has include statements, then the line number is the effective line number if you added up the lines included up to that point in the script.

    In other words, if you include a script that has 1470 lines and your main script looks like this:

    Line 1: If...

    Line 2: End If

    You would get the error message you received reporting an error on line 1472.

    The issue is probably in the corresponding If statement but could be on the line preceding the End If.

Children
  • 0 in reply to   

    Hi   I know the script and its being invoked using a notification, there is no if-statement on that line number , but there is might be an issue with the line preceding the end if, no syntax errors , all scripts are validated and valid in SBM composer !