"Cannot read property '$return_value' of undefined"

Hi there,

I have an error when passing a variable I made on nodejs step:

“Cannot read property ‘$return_value’ of undefined”

According to Dylan Sather’s response to a problem similar to this one, the error could occur because the step would not exist in the worklfow, however, that is not the case, as can be seen in the screenshot.

At some point rename the step, but also modify the reference when invoking it:

{{steps.Process_Response.$return_value}}

Am I missing something?
Thank you.

Hi @ohtejera

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

Can you try retesting the Procesar_Respuesta step before testing the Guardar_Resultado step again?

Step exports are only processed on tested changes.

Unfortunately the arrow in your screenshot is blocking the exports data from your first step.

1 Like

Hi Pierce,

Thank you for your response.

The problem was solved when I created a copy of the workflow. Now it’s working like a charm.

Thank you.

1 Like