n8n-io / n8n

Free and source-available fair-code licensed workflow automation tool. Easily automate tasks across different services.
https://n8n.io
Other
48.64k stars 7.66k forks source link

Graphql error output not triggered #8874

Open lucalamo opened 8 months ago

lucalamo commented 8 months ago

Bug Description

Graphql error output is not triggered even if an error occcured (in one value is missing sorrounding quotation marks)

2024-03-13_10-21

2024-03-13_10-22

To Reproduce

  1. create a graphql node GraphQL node version 1 (Latest) with node error output
  2. insert a graphql query with a string value with missing sorrounding quotation marks (but i think all errors still not works as expected)

Expected behavior

error output is triggered

Operating System

linux 22.04

n8n Version

1.31.2

Node.js Version

v18.17.1

Database

PostgreSQL

Execution mode

main (default)

Joffcom commented 8 months ago

Hey @lucalamo,

Thanks for reporting this one, Not all of the nodes use the error output branch yet. I have created NODE-1231 as the internal dev ticket to resolve this one in the future.