Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
what-gift opened this issue Mar 12, 2025 · 1 comment
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@what-gift
Copy link

Bug Description

Image

To Reproduce

  1. Ai Tools Agent
  2. Supabase sub node tool
  3. Set fields automatically

Image

The automatic option is setting it like this:

{{ $fromAI('Field_Value', `An array of suggested gift items relevant to the event, e.g., ['Smartwatch', 'Cookbook'].`, 'string') }}
{{ $fromAI('Field_Value', `General description of the intended audience for this event, e.g., 'Parents', 'Tech Enthusiasts'.`, 'string') }}

The "Field_Value" is not being set to the name of the field with the automatic option. I only figured this out by removing it and then editing my expression as above and setting the field value to a name which doesn't duplicate.

Expected behavior

No error message. Stopping agent working.

Operating System

Windows 11

n8n Version

1.80.3.

Node.js Version

uknown

Database

PostgreSQL

Execution mode

main (default)

@Joffcom
Copy link
Member

Joffcom commented Mar 12, 2025

Hey @what-gift,

We have created an internal ticket to look into this which we will be tracking as "GHC-1168"

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

No branches or pull requests

2 participants