Extracting nested values - where am I going wrong?

Describe the issue/error/question

Sorry for another question but having not found a simple answer to what I think would be a popular question, I think it’s a good idea to have this in the community.

I am trying to extract the nested value of ‘date’ under ‘start’ from the sample data below. I think I’m close but must just be off a little if anyone can think why? Thanks.

What is the error message (if any)?

“Unexpected number [Line 96]”

Please share the workflow

Share the output returned by the last node

errored

Information on your n8n setup

  • n8n version: um
  • Database you’re using (default: SQLite): um
  • Running n8n with the execution process [own(default), main]: um
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]: online

Hi @binvius

Your sample data is causing the error.
It’s not structured right.
For your question you have a couple of options I gave 2 with a revised sample data:

I don’t believe it - I knew it was that. Thank you for reminding me. I think I was just getting so mixed up with things and ended up trying to over-complicate things.

Marked solved. Thanks again.

1 Like