# Error in JSONata editor test

**URL:** https://discourse.nodered.org/t/error-in-jsonata-editor-test/84144
**Category:** General
**Created:** [30 December 2023 23:39 UTC](https://discourse.nodered.org/t/error-in-jsonata-editor-test/84144 "2023-12-30T23:39:23Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)
#### Post date: [30 December 2023 23:39 UTC](https://discourse.nodered.org/t/error-in-jsonata-editor-test/84144/1 "2023-12-30T23:39:23Z")

</div>

Just noticed that in Node-red 3.1.3 that the transform function shows as error in JSONata test. I am pretty sure this worked fine prior to 3.1. If i inject a value into this expression it all works fine.

 ![chrome_screenshot_30 Dec 2023 23_32_02 GMT](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/8/f8f94da37164ae677163ef4adf993c14a9dad37c.png)

[edit] Issue raised at github [Jsonata editor test error with transform function (3.1.3) · Issue #4504 · node-red/node-red · GitHub](https://github.com/node-red/node-red/issues/4504)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [28 February 2024 23:39 UTC](https://discourse.nodered.org/t/error-in-jsonata-editor-test/84144/2 "2024-02-28T23:39:26Z")

</div>

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