# Hello Swipe! I Need help with Error Message: Invalid expression! - /v2/custom\_fields/item

**URL:** <https://community.getswipe.in/t/hello-swipe-i-need-help-with-error-message-invalid-expression-v2-custom-fields-item/3246>\
**Category:** Error\
**Created:** [May 26, 2025, 12:49pm UTC](https://community.getswipe.in/t/hello-swipe-i-need-help-with-error-message-invalid-expression-v2-custom-fields-item/3246 "2025-05-26T12:49:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hritik\_Bhat](https://yyz1.discourse-cdn.com/flex003/user_avatar/community.getswipe.in/hritik_bhat/32/5058_2.png) [@Hritik\_Bhat](https://community.getswipe.in/u/Hritik_Bhat)\
**Post date:** [May 26, 2025, 12:49pm UTC](https://community.getswipe.in/t/hello-swipe-i-need-help-with-error-message-invalid-expression-v2-custom-fields-item/3246/1 "2025-05-26T12:49:50Z")

</div>

From this error message, we understand that the expression that you are trying to enter for item field formula is invalid.

Step 1: Go to the **Document Settings**.

 ![image](https://canada1.discourse-cdn.com/flex003/uploads/getswipe/original/2X/6/626307b25a405198f1ca4cc674d5d2bb26ae2e92.png)

Step 2: Click on **Add Custom Fields**.

 ![image](https://canada1.discourse-cdn.com/flex003/uploads/getswipe/original/2X/4/47315c0106729e426c22f128dfe27c27584302c9.png)

Step 3: Edit the item field for which you want to add the formula.

 ![image](https://canada1.discourse-cdn.com/flex003/uploads/getswipe/original/2X/6/68f2302b30e8599fb0f50de4502edf4d4dd1d32b.png)

Step 4: Enter the **Valid Expression** \>\> Click on **Save**.

 ![image](https://canada1.discourse-cdn.com/flex003/uploads/getswipe/original/2X/d/dc34ecf716d86c2b00736f7f5ce7f52e786a6683.png)
