Can’t determine which item to use after AI node

Describe the problem/error/question

In my workflow after AI node I cannot access data from previous (excluding last) nodes

What is the error message (if any)?

[ERROR: Can’t determine which item to use]

Please share your workflow

Screenshots of parameters resolving

In AI nodes (prompt) everything work fine:

Next node cannot access previous (6 nodes back) node:
image

I read a bit about linking items and I think I’ve done it correctly in my code nodes, but AI node got me
Am I doing sth wrong? Or it’s a bug or misconception?

Information on your n8n setup

  • n8n version: 1.38.1
  • Database (default: SQLite): SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): docker, local
  • Operating system: linux, arch

Thanks,
Simon:)

I am also experiencing this issue since upgrading N8N version (Currently on 1.38.2) .Everything was working fine and then I upgraded to the latest a few hours ago and hit with this error.

Previous to that I was 2 versions behind the latest

3 Likes

Now I am on holiday, but I’ll check that when I am back, thanks for info <3

I am not sure why but it work for me right ATM

Basic LLM Chain node version 1.4 (Latest)
n8n Version1.39.1

@dougieled is it working for you?

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