# Odd issue with Join node

**URL:** <https://discourse.nodered.org/t/odd-issue-with-join-node/86218>\
**Category:** General\
**Created:** [7 March 2024 01:27 UTC](https://discourse.nodered.org/t/odd-issue-with-join-node/86218 "2024-03-07T01:27:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![0Nulls](https://avatars.discourse-cdn.com/v4/letter/0/5f9b8f/32.png) [@0Nulls](https://discourse.nodered.org/u/0Nulls)\
**Post date:** [7 March 2024 01:27 UTC](https://discourse.nodered.org/t/odd-issue-with-join-node/86218/1 "2024-03-07T01:27:11Z")

</div>

For some reason, this one Join node won't Join the payloads. Here are a few screenshots:

Since I can only do 2 screenshots since I'm new here, here's my current join node config  
Mode: Manual  
Combine each: msg.payload  
to create: a merged object  
Everything else is left blank in order to complete the join with msg.complete

Currently it spits it out in 2 different messages despite only passing the msg.complete property in one of the messages like so.  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/1/d16b681d80c9c0697710da32f62bb1ff9e667a8c.png)

Now, if I set "to create" within the join node to "an Array" opposed to a merged object, it creates this:  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/0/9079c4c699e2c3118ad49ed112ef56a16a1d48db.png)

But I would much rather combine the objects instead of having an index of numbers, does anyone have any ideas on why this might be happening? For reference, this isn't happening to any other join nodes in my flow; it's just this one, and I have no idea why.

Here's a few things I've tried  
Deleting the join node and recreating it  
Verifying I am in fact only passing the msg.complete property once (Verified by creating a change node to delete it anywhere else)  
Restarted the server just in case  
Restarting my browser

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [7 March 2024 02:03 UTC](https://discourse.nodered.org/t/odd-issue-with-join-node/86218/2 "2024-03-07T02:03:53Z")

</div>

The messages you are trying to join should not have the same msg.topic (or whatever other msg property is specified as the key).

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/f/efb7de44bbb50b9000cbb06510f8d02134f762f1.png)

---

<div class="post-metadata">

**Author:** ![0Nulls](https://avatars.discourse-cdn.com/v4/letter/0/5f9b8f/32.png) [@0Nulls](https://discourse.nodered.org/u/0Nulls)\
**Post date:** [7 March 2024 02:36 UTC](https://discourse.nodered.org/t/odd-issue-with-join-node/86218/3 "2024-03-07T02:36:02Z")

</div>

I'm doing a merged object, not a key/value Object, I couldn't post the pic in my OP  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/4/24ecc267d9fe3a7305afde1675b99c1de8d832c4.png)

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [7 March 2024 04:23 UTC](https://discourse.nodered.org/t/odd-issue-with-join-node/86218/4 "2024-03-07T04:23:20Z")

</div>

Yes I missed that, sorry.

The first message shown in your debug output does not include the property sent == true?

I can't see any reason for the behaviour you describe.

Can you make a simple flow with inject nodes to create the two messages and the join node?  
If the same thing happens, share it with us.

---

<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:** [5 June 2024 04:23 UTC](https://discourse.nodered.org/t/odd-issue-with-join-node/86218/5 "2024-06-05T04:23:28Z")

</div>

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