# Error : Invoke Python Method

**URL:** <https://forum.uipath.com/t/error-invoke-python-method/478565>\
**Category:** Community\
**Tags:** community, question, python, forum, activities\
**Created:** [October 6, 2022, 5:46am UTC](https://forum.uipath.com/t/error-invoke-python-method/478565 "2022-10-06T05:46:01Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Adrian\_Brinas](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/adrian_brinas/32/318041_2.png) [@Adrian\_Brinas](https://forum.uipath.com/u/Adrian_Brinas)\
**Post date:** [October 6, 2022, 6:12am UTC](https://forum.uipath.com/t/error-invoke-python-method/478565/4 "2022-10-06T06:12:43Z")

</div>

Hello, from the available picture I can see the following problems:

- InputData of type DataTable is null
- InputString is null
- The type of InputString is Int32, maybe should be String
- The PyOutput pbject of type PythonObject is not initialized
- The Code property of the Python script is null

Please see first the following link, that may be useful:  
[Invoke Python Code UIPath](https://forum.uipath.com/t/step-to-invoke-python-code-in-uipath/162639)

Hope it can help. Adrian

---

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