Error Code Portal
PythonPythonError code

IndentationError

IndentationError

Code IndentationError · An issue reported by Python.

Base class for syntax errors related to incorrect indentation. This is a subclass of SyntaxError.

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.