# Issue with Set Node

**URL:** <https://community.n8n.io/t/issue-with-set-node/10074>\
**Category:** Questions\
**Tags:** data-transformation\
**Created:** [December 22, 2021, 8:32am UTC](https://community.n8n.io/t/issue-with-set-node/10074 "2021-12-22T08:32:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mustafa\_Ali](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mustafa_ali/32/6492_2.png) [@Mustafa\_Ali](https://community.n8n.io/u/Mustafa_Ali)\
**Post date:** [December 22, 2021, 8:32am UTC](https://community.n8n.io/t/issue-with-set-node/10074/1 "2021-12-22T08:32:33Z")

</div>

Hello All,

I am trying to some text value from API call and formatting it in set node using expression. I can see the correct result in Result panel of expression but node is not returning any value. Attaching screenshots for reference.

 ![Screenshot 2021-12-22 at 1.58.54 PM](https://europe1.discourse-cdn.com/n8n/original/2X/c/c070b7a1a1ff1b4b7aa62e688e023a73c8beef87.png)  
 ![Screenshot 2021-12-22 at 1.59.03 PM](https://europe1.discourse-cdn.com/n8n/original/2X/e/eb97f7b58a720d5fa9face1563d0ca69d8f8a563.png)

---

<div class="post-metadata">

**Author:** ![MutedJam](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mutedjam/32/70851_2.png) [@MutedJam](https://community.n8n.io/u/MutedJam)\
**Post date:** [December 22, 2021, 8:57am UTC](https://community.n8n.io/t/issue-with-set-node/10074/2 "2021-12-22T08:57:38Z")

</div>

Hi @Mustafa_Ali, the problem would be similar to what has happened here:

> [@Cannot make notion link in discord node](http://community.n8n.io/t/cannot-make-notion-link-in-discord-node/9986/2):
>
> Hi @Shirobachi, woah, that’s a funky one, took me quite a while to figure out. I was first looking at the MDN page for .replaceAll() (from your screenshot) as I had no idea it exists: And at the very bottom it has a compatibility matrix, suggesting it’s only supported since Node.js 15. The n8n docker image is however [built on Node.js 14](https://github.com/n8n-io/n8n/blob/master/docker/images/n8n/Dockerfile#L1). So what has (most likely) happened here is that your browser supports .replaceAll() (which is why you can see it working in the preview), but the server ru…

In short, `.replaceAll()` is supported by your browser (which is why it would be working in the preview), but not the Node.js version your n8n instance is using. Instead of using `.replaceAll()`, you could simply use `.replace()` and should get the desired result.

To replace multiple occurrences of `<br />` using `.replace()` instead of `.replaceAll()` you could use `.replace(/<br \/>/g, "")`.
