N8n error: Cant determine item

Hi guys, d

I’m running into a recurring issue in one of my n8n workflows where a later node cannot correctly access data from an earlier node. Instead of returning the expected value, n8n throws the following error:

“Multiple matching items found”
and
“ERROR: Can’t determine which item to use.”

I refer to earlier nodes and the current node cannot retrieve the data:d

So far, my workaround has been to add an additional Code node to manually re-fetch or re-map the data I need — but this doesn’t feel like a clean or recommended solution.


What I’m Looking For

I’d like to know:

  1. What is the best practice for handling this situation?
    When a node earlier in the chain outputs multiple items, and a later node needs to reference a specific one.

  2. Is there a better alternative than adding an extra Code node just to restructure the data?

Thank you for your help!!

use unique names for binary file

1 Like

the error message actually pointed out the problem

in Get Survey node at the bottom of the image you have 2 items and in your current one you end up with one. so you current single item reference 2 items in the GET Surevy node and you can not use {{ $(‘Get Survey’).item.json }} beacause item is an array of two items you can reference the first one by suing {{ $(‘Get Survey).first() }}

but why you have 2 surveys at the start and then return a single item down the road

1 Like