# Indentation error in scripts

**URL:** <https://forum.inductiveautomation.com/t/indentation-error-in-scripts/109206>\
**Category:** Ignition\
**Tags:** scripting\
**Created:** [July 31, 2025, 2:54pm UTC](https://forum.inductiveautomation.com/t/indentation-error-in-scripts/109206 "2025-07-31T14:54:16Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ryan.white](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan.white/32/73193_2.png) [@ryan.white](https://forum.inductiveautomation.com/u/ryan.white)\
**Post date:** [July 31, 2025, 3:13pm UTC](https://forum.inductiveautomation.com/t/indentation-error-in-scripts/109206/4 "2025-07-31T15:13:27Z")

</div>

Right click in the editor space -\> appearance -\> whitespace. This should allow you to determine if you have mixed spaces and tabs. Also make sure you aren't missing any colons or brackets.

---

_[View the full topic](https://forum.inductiveautomation.com/t/indentation-error-in-scripts/109206)._
