Log errors
I'm not sure if this is a bug or if i'm not referencing the JSON path array correctly from the previous node or if this is a syntax error, but i'm getting this : Cannot read properties of undefined (reading 'values')
Please see attached screen shots.
Thanks!
Solution:Jump to solution
Hi @verismo007 The issue is the log condition you have added, as the result type returned by the Get Sheets Node is an object, and the logs you are trying to access are with the array method. To fix this you can click on update output schema from the result of your Get Sheets nodes to access the values array directly and use it as a variable then you'll be able to apply array methods over it.
2 Replies
I did another test by creating a workflow with exactly the same logic as another working workflow that ran successfully. Instead of having the same outcome, I'm getting an error (see attached)
Solution
Hi @verismo007 The issue is the log condition you have added, as the result type returned by the Get Sheets Node is an object, and the logs you are trying to access are with the array method. To fix this you can click on update output schema from the result of your Get Sheets nodes to access the values array directly and use it as a variable then you'll be able to apply array methods over it.