Google Upsert "Cannot read property 'updatedData' of undefined"

I had 2 workflows that used this function and they are throwing this error, we were building a new flow when we noticed it, and went back to check our older and confirmed working flows and they were bugging out.

at Object.run (file:///tmp/__pdg__/dist/code/a68a30df588d637d7066b8995aaef4b8ee53675ff554d68671b2dcb0f73cf31f/code/google_sheets/actions/upsert-row/upsert-row.mjs:140:36)
    at process.processTicksAndRejections (internal/process/task_queues.js:95:5)
    at global.executeComponent (/var/task/launch_worker.js:139:22)
    at MessagePort.messageHandler (/var/task/launch_worker.js:598:28)

Is the recent activity here related?

Hi @rsslone

First off, welcome to the Pipedream community. Happy to have you!

The error Cannot read property <property name here> of undefined means that your code or pre-built action code is passed data that is incomplete.

This means that possibly the incoming data has changed or is missing.

To debug, you can use logging in Node.js steps to see where data is missing.

You can also use the built in Filter action to filter out data that shouldn’t be processed.

I appreciate the extra info, the filter action could’ve came in handy but I filtered out what I needed in the code myself. All the data that I constructed in the array is returning a value.


I reported this on slack as well, sorry for the double post, but seems they was able to reproduce something. [BUG] Google Sheet - Upsert action show error Cannot read property 'updatedData' of undefined · Issue #4881 · PipedreamHQ/pipedream · GitHub