How do i handle object with no keys or empty value OR missing object in a API request?

Hi there! I'm pulling data from the tasty API and is facing a challenge. I've build a function stack to pull nutrition values from the get recipes/get-more-info endpoint. But it seems that the function stack will stop running when it runs into a recipe that has either the 'nutrition' object with no keys or is missing totally.

This is how the results from the endpoint looks like

this is how i set up the function stack.

i tried using get filter in 2.3 but it doesn't seem to work. i think i might have implement it wrongly. would love to get an idea on how typically this is being handled. i've limited technical knowledge and i'm mainly a self-learner on this. any advice would be appreciated!

thanks!

1 reply