000989: Python syntax error: <value>.


The code block used by the Calculate Field or Calculate Value tool has a syntax error. This error message provided will list the specific Python syntax error.


This error code covers a number of Python syntax errors, for example, Parsing error: unindent does not match any outer indentation level (line 3).

The above is a Python syntax error. Line 3 has invalid indentation. For specific Python issues, consult the Python documentation for more information, or consult the Calculate Field, Calculate Value, or Analyze Tools For Pro help for more information on these tools.

When returned by a script tool or when evaluating a script tool using Analyze Tools For Pro, this error can also indicate that the tool's source script cannot be found.