Describe the problem/error/question
In the IF node when i try to compare the output of previous two nodes it is failing to do so and getting an error as shown in the screenshot
- Optimized Flow
Trigger → Search PDFs → Loop → Extract Metadata → Check DB → IF (New/Modified) → UPSERT → Loop Back
What is the error message (if any)?
Error Message: Cannot read properties of undefined (reading ‘rightType’)
Please share your workflow
Share the output returned by the last node
Information on your n8n setup
- n8n version: 1.102.4,
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main): default
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- Operating system: Ubuntu 24

