Why am I getting an 'undefined is not an array or an array-like' error when adding a single row in Google Sheets using dynamic configured param 'myColumnData'?

This topic was automatically generated from Slack. You can find the original thread here.

Hey! I am calling action “google_sheets-add-single-row” and set the dynamic configured param myColumnData as well. But I get this error. Please help

{
sheetId: ‘’,
hasHeaders: ‘false’,
worksheetId: 0,
myColumnData: [ ‘test1’, ‘test2’, ‘test3’, ‘test3’ ],
googleSheets: { authProvisionId: ‘’ }
}

{ os: [ { ts: 1747138170672, k: 'error', err: { name: 'Error', message: 'undefined is not an array or an array-like', stack: 'Error: undefined is not an array or an array-like\n' + ' at Object.sanitizedArray (file:///tmp/__pdg__/dist/code/e4207de98c73060cf90653524592081661abecd9e78d47c101ab55bdc7e8c265/code/google_sheets.app.mjs:177:13)\n' + ' at Object.run (file:///tmp/__pdg__/dist/code/e4207de98c73060cf90653524592081661abecd9e78d47c101ab55bdc7e8c265/code/actions/add-single-row/add-single-row.mjs:152:33)\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n' + ' at async file:///var/task/component_maker.mjs:151:11\n' + ' at async captureObservations (/var/task/node_modules/@lambda-v2/component-runtime/src/captureObservations.js:28:5)\n' + ' at async run (file:///var/task/component_maker.mjs:141:20)\n' + ' at async MessagePort. (file:///var/task/component_maker.mjs:177:9)' } } ] }

Potentially an issue with your payload?

Yes, that was the issue. Thanks!