# scaleLinear helper wont accept payload data

**URL:** <https://forums.losant.com/t/scalelinear-helper-wont-accept-payload-data/5582>\
**Category:** Help\
**Tags:** workflow\
**Created:** [September 1, 2024, 6:59pm UTC](https://forums.losant.com/t/scalelinear-helper-wont-accept-payload-data/5582 "2024-09-01T18:59:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stewart\_McCallum](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/stewart_mccallum/32/2490_2.png) [@Stewart\_McCallum](https://forums.losant.com/u/Stewart_McCallum)\
**Post date:** [September 1, 2024, 6:59pm UTC](https://forums.losant.com/t/scalelinear-helper-wont-accept-payload-data/5582/1 "2024-09-01T18:59:05Z")

</div>

trying to use the {{scaleLinear}} helper in a math node but no luck. If I try to use a value from my payload data, {{Volume}} for example results in a error on the node. Actual values work {{scaleLinear 4000 20000 0 21650 6000}} but {{scaleLinear 4000 20000 0 {{data.Volume}} 6000} will not.

---

<div class="post-metadata">

**Author:** ![Dylan\_Schuster](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/dylan_schuster/32/2850_2.png) [@Dylan\_Schuster](https://forums.losant.com/u/Dylan_Schuster)\
**Post date:** [September 3, 2024, 12:45pm UTC](https://forums.losant.com/t/scalelinear-helper-wont-accept-payload-data/5582/2 "2024-09-03T12:45:58Z")

</div>

You don’t need to wrap the variable within the helper in brackets; that’s probably the cause of your error.

 ![Screenshot 2024-09-03 at 8.43.10 AM](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/7/756cbd59f65e1243a1b0d488d2d7c53bcd6de354.png)

If you use the [Template Tester](https://docs.losant.com/workflows/platform-template-tester/) that’s built into the workflow editor, you’ll get better feedback when invalid syntax is provided.

 ![Screenshot 2024-09-03 at 8.43.21 AM](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/4/4c5b2da26a22acdd97039c1c33864958f2e50974.png)
