001232: Script tool <value> has syntax error: <value>.

Solution

Open the source Python file (.py) inside a Python IDE. Find and correct the bad syntax.