# Python activity error

**URL:** <https://forum.uipath.com/t/python-activity-error/53409>\
**Category:** Help\
**Tags:** python, activities\
**Created:** [July 23, 2018, 10:44am UTC](https://forum.uipath.com/t/python-activity-error/53409 "2018-07-23T10:44:19Z")\
**Posts on this page:** 1\
**Showing post:** 25

<div class="post-metadata">

**Author:** ![Anitha\_krishnan](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@Anitha\_krishnan](https://forum.uipath.com/u/Anitha_krishnan)\
**Post date:** [August 28, 2018, 4:51pm UTC](https://forum.uipath.com/t/python-activity-error/53409/25 "2018-08-28T16:51:19Z")

</div>

Hey guys I had the same issue…bt when i made slight modification in my python code(just make sure that function definition starts with a tab under the function declaration) it worked pretty well!

---

_[View the full topic](https://forum.uipath.com/t/python-activity-error/53409)._
