# ERROR when using BarStress.GetMinValue

**URL:** <https://forum.dynamobim.com/t/error-when-using-barstress-getminvalue/60723>\
**Category:** Robot Structural Analysis\
**Tags:** dynamo\
**Created:** [February 20, 2021, 4:16pm UTC](https://forum.dynamobim.com/t/error-when-using-barstress-getminvalue/60723 "2021-02-20T16:16:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![benameram](https://avatars.discourse-cdn.com/v4/letter/b/3e96dc/32.png) [@benameram](https://forum.dynamobim.com/u/benameram)\
**Post date:** [February 20, 2021, 4:16pm UTC](https://forum.dynamobim.com/t/error-when-using-barstress-getminvalue/60723/1 "2021-02-20T16:16:25Z")

</div>

Hi all,

I keep getting an error every time I try to use this node. Has anyone come across this before?

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/3/8314cdf895fecbad623950e4173574787e864fbd.png)

thank you in advance.

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [February 20, 2021, 4:34pm UTC](https://forum.dynamobim.com/t/error-when-using-barstress-getminvalue/60723/2 "2021-02-20T16:34:47Z")

</div>

You need to provide a valid input into the load case id. Notice that node is in a function state - light grey. The error is stating “I need an integer but you gave me a function”.

---

<div class="post-metadata">

**Author:** ![benameram](https://avatars.discourse-cdn.com/v4/letter/b/3e96dc/32.png) [@benameram](https://forum.dynamobim.com/u/benameram)\
**Post date:** [February 20, 2021, 4:55pm UTC](https://forum.dynamobim.com/t/error-when-using-barstress-getminvalue/60723/3 "2021-02-20T16:55:29Z")

</div>

Thank you Jacob. Didn’t notice that I hadn’t provided the node with an input.
