verismo007
verismo0077mo ago

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!
No description
No description
No description
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.
Jump to solution
2 Replies
verismo007
verismo0077mo ago
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)
No description
Solution
Gaurav Chadha
Gaurav Chadha7mo ago
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.