SQL connector returns error: (Data with ID "undefined" from an API)

Hi,
I have a query that I have tried on server without eny problem, I have also updated the query at the SQL connector plug in but when I run the app I get the error as : (Data with ID “undefined” from an API)
Does anyone have an idea why that would be?

Can you post the workflow or element that uses your SQL query?