Query error: Column count doesn't match value count at row 1

@victoria lovely, thank you – this is part of an important feature I need to implement in our app...

Regarding the stack overflow thread, I think this doesn't solve my problem because I already provide the column names. Here's my query from the original post:

INSERT INTO shop_product_information (
  shop_project_id,
  shop_product_id,
  product_information_type_id,
  product_information_value
) VALUES (
{{
table_shop_feed_item.selectedRow.data.map (row => ({
  "shop_project_id": get_project_details.data.id[0],
  "shop_product_id": row.id,
  "product_information_type_id": 19,
  "product_information_value": { PARAM: input_add_variable_params.value }
}))

}})

This query works:

INSERT INTO shop_product_information (
  shop_project_id,
  shop_product_id,
  product_information_type_id,
  product_information_value
) VALUES (
  79,
  728242,
  19,
  'PARAM'
)

This query does not work:

INSERT INTO shop_product_information (
  shop_project_id,
  shop_product_id,
  product_information_type_id,
  product_information_value
) VALUES (
{{
table_shop_feed_item.selectedRow.data.map (row => ({
  "shop_project_id": get_project_details.data.id[0],
  "shop_product_id": row['Lister product ID'],
  "product_information_type_id": 19,
  "product_information_value": "PARAM" // I tryied to send a string because I thought that the object could be a problem.
}))

}})

I think it might be because of the map function which is correct from a javascript point of view, but Retool might execute things in a different order (I came across this issue before – maybe it is similar). What do you think?

Thank you.