# Error in InputParameters

**URL:** <https://forum.uipath.com/t/error-in-inputparameters/135586>\
**Category:** Help\
**Tags:** python, activities, system\
**Created:** [July 22, 2019, 7:12am UTC](https://forum.uipath.com/t/error-in-inputparameters/135586 "2019-07-22T07:12:41Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![KarthikBallary](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/karthikballary/32/176690_2.png) [@KarthikBallary](https://forum.uipath.com/u/KarthikBallary)\
**Post date:** [July 22, 2019, 7:12am UTC](https://forum.uipath.com/t/error-in-inputparameters/135586/1 "2019-07-22T07:12:41Z")

</div>

Hi,  
I have included python script. under invoke method I need to pass a variable of type string.  
 ![pyerror](https://global.discourse-cdn.com/uipath/original/3X/3/9/39eb57f157bae8c957e0e8e8dd9e94b17524fc5f.jpeg)

---

<div class="post-metadata">

**Author:** ![KarthikBallary](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/karthikballary/32/176690_2.png) [@KarthikBallary](https://forum.uipath.com/u/KarthikBallary)\
**Post date:** [July 22, 2019, 7:16am UTC](https://forum.uipath.com/t/error-in-inputparameters/135586/2 "2019-07-22T07:16:07Z")

</div>

By the way get python object must cme first or invoke python method?

---

<div class="post-metadata">

**Author:** ![HareeshMR](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/hareeshmr/32/181825_2.png) [@HareeshMR](https://forum.uipath.com/u/HareeshMR)\
**Post date:** [July 22, 2019, 7:23am UTC](https://forum.uipath.com/t/error-in-inputparameters/135586/3 "2019-07-22T07:23:52Z")

</div>

This should be the other @KarthikBallary

![image](https://global.discourse-cdn.com/uipath/original/3X/a/1/a1e6f13247366a7988ba140a41d7fc286907b723.png)

---

<div class="post-metadata">

**Author:** ![HareeshMR](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/hareeshmr/32/181825_2.png) [@HareeshMR](https://forum.uipath.com/u/HareeshMR)\
**Post date:** [July 22, 2019, 7:25am UTC](https://forum.uipath.com/t/error-in-inputparameters/135586/4 "2019-07-22T07:25:18Z")

</div>

> [@KarthikBallary](#):
>
> oke method I need to pass a variable of type string

The variable you need to pass should be like this

 ![image](https://global.discourse-cdn.com/uipath/original/3X/f/5/f50875f67a6410e918683b5cc19d43bfb998f897.png)

If you see here, my variable is also of type string

![image](https://global.discourse-cdn.com/uipath/original/3X/7/6/763897d5a6e27f15655db6fd6f68072132b10e11.png)

---

<div class="post-metadata">

**Author:** ![KarthikBallary](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/karthikballary/32/176690_2.png) [@KarthikBallary](https://forum.uipath.com/u/KarthikBallary)\
**Post date:** [July 22, 2019, 7:27am UTC](https://forum.uipath.com/t/error-in-inputparameters/135586/5 "2019-07-22T07:27:03Z")

</div>

Thank You

---

<div class="post-metadata">

**Author:** ![KarthikBallary](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/karthikballary/32/176690_2.png) [@KarthikBallary](https://forum.uipath.com/u/KarthikBallary)\
**Post date:** [July 22, 2019, 7:35am UTC](https://forum.uipath.com/t/error-in-inputparameters/135586/6 "2019-07-22T07:35:08Z")

</div>

![Capture](https://global.discourse-cdn.com/uipath/original/3X/7/7/77745d125715079a846d2d70b5929560c649332e.jpeg)

---

<div class="post-metadata">

**Author:** ![KarthikBallary](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/karthikballary/32/176690_2.png) [@KarthikBallary](https://forum.uipath.com/u/KarthikBallary)\
**Post date:** [July 22, 2019, 7:35am UTC](https://forum.uipath.com/t/error-in-inputparameters/135586/7 "2019-07-22T07:35:48Z")

</div>

I am getting this error

---

<div class="post-metadata">

**Author:** ![HareeshMR](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/hareeshmr/32/181825_2.png) [@HareeshMR](https://forum.uipath.com/u/HareeshMR)\
**Post date:** [July 22, 2019, 7:38am UTC](https://forum.uipath.com/t/error-in-inputparameters/135586/8 "2019-07-22T07:38:09Z")

</div>

Can you post the workflow or the python code you have?On which activity you are getting this error @KarthikBallary?

---

<div class="post-metadata">

**Author:** ![KarthikBallary](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/karthikballary/32/176690_2.png) [@KarthikBallary](https://forum.uipath.com/u/KarthikBallary)\
**Post date:** [July 22, 2019, 7:39am UTC](https://forum.uipath.com/t/error-in-inputparameters/135586/9 "2019-07-22T07:39:44Z")

</div>

Got it I didn’t give return type

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/system/32/182466_2.png) [@system](https://forum.uipath.com/u/system)\
**Post date:** [July 25, 2019, 7:39am UTC](https://forum.uipath.com/t/error-in-inputparameters/135586/10 "2019-07-25T07:39:50Z")

</div>

Closed on July 25, 2019, 7:39am UTC

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
