"Duplicate key 'Field_Value' found with different description or type," - $fromAI() function

Describe the problem/error/question


image

What is the error message (if any)?

I am getting this duplicate key error and I have no idea how to fix this. I tried an output parser but that did not work properly.

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 1.89
  • Database (default: SQLite): postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): cloud
  • Operating system: macos

Hi @Anthony_Chet,

Could you provide a screenshot of the Salesforce node options?

If you’re comfortable sharing the workflow as well, that would be really helpful!

Hey thanks I actually solved it. appreciate the support

What did you do? I have the same error here

You have to define it as an expression not fixed. I used chatgpt to help me

Hmmm, I see. Thank you!

are you also using salesforce

Not really. I had the same problem with both the postgres node tool and the subworkflow node tool. I saw here in a githhub issue that it is a bug and will be fixed in the next update.