TypeError Cannot read property 'picUrl' of undefined

Hi,
I’m getting an error in my workflow:

I’m using browserless in combination with puppeteer.
When I send the message to Discord on the next step I receive this error. It used to work last week when it suddenly stopped working.

Could you please help me fixing this issue?

Thanks

Hi @rossano,

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

The error Cannot read property <property name here> of undefined means that your code or pre-built action code is passed data that is incomplete.

This means that possibly the incoming data has changed or is missing.

To debug, you can use logging in Node.js steps to see where data is missing.

You can also use the built in Filter action to filter out data that shouldn’t be processed.