Cannot read properties of undefined (reading 'supplyData')

Hi I suddenly received this error when building my AI Agent. I have made some agents before and never received this issue. The interesting thing is that as you can see, I just have the barebones of the agent, haven’t even implemented all the fancy stuff yet. I looked through the json of the workflow and can’t even find any ‘supplyData’

Hi @Yozafard_Harold, hope all is well and welcome to the community.
Can you share the workflow? You can select and copy the workflow in your editor and then paste it here like this:

```
<...your paste here...>

```

Can you share the entire workflow please. The error means you’re trying to read “supplyData” as a property of an object where the parent object doesnt exist for example data.supplyData. If this worked in the past and not now, then likely you added nodes before the node doing this mapping where you used $json.data.supplyData or $json.supplyData. $json always looks at the node immediately before it and if you added another node inbetween, then those variables wont exist anymore. In such cases it is better to reference nodes by name like $('Edit Fields1').first().json.supplyData

Thats the entire workflow, looks slightly different to the screenshot as I stripped everything down to the bare minimums to make debugging easier. The same error still shows up. I am aware of how $json works, The problem that I’m facing is that I never even referenced any supplyData

Do you use supplyData in any of those MCP services you have connected? Also try and disconnect your memory and run a test. Ive seen it sometimes the memory kept referencing old data