hey guys im having an error with my agent that just happend from nowhere also when this error happend don’t log the completions into the memoryand the agent ouput nothig which doesnt make sense cause the day before was working perfectly fine.
like is not logging anything in the memory like what can i do isnt that automatic from the the node?
Update the problem is still there wven without the memory so i dont understand what it could be.
But that is super rare im using open router gemini 2.5 preview sep , flash 2.5 , gpt 5 nano and haiku 4.5 in other workflows and im having issues in this workflow and other.
here as you can see i have the same model and is working perfectly fine
Thanks for the clarification. I’m not here for dating or to lure anyone just a regular digital marketer contributing to the community. Noted and understood.
Hey parintele morning my ai agent were completely fine for months running smoothly and form one day to another sometime work sometimes don’t it doesnt make sense i change the provider directly from google form claude from open route and open ai and still sometime work sometimes it doesn’t now is saying me : “Cannot read properties of undefined (reading ‘reduce’)”
note is not because of the update cause it happen to me before update to version 2.0 i update thinking was a bug and im still having the issue
The solution to this error : OUTPUT_PARSING_FAILURE - Docs by LangChain
or at least the closest I could find was take the restructure the prompt, make it a bit more concise, eliminate the think tool and restructure especially your tool section of your prompt. Do it with the langchain documentation. I will be adding the link to it Tools - Docs by LangChain
Look through that link and restructure your tools to make the basic tool definitions. Each of your tools. That should make it work and the most, the key part on this is eliminate everything about the think tool.
And try if after that, the same provider you were using. In my case, I was using Gemini 2.5 Flash. And the errors were lower but I was still getting some errors. So I recommend you to change provider. I moved to XAI Grog 4.1 Fast Reasoning. It’s amazing, it’s much better than Gemini, it’s much cheaper than Gemini. So I really recommend you to first make the changes I told you and after if you still receiving some issues, you can change the provider. I do not recommend any of the GPT ones.
note
It’s a super weird error. I was using this agent with the same prompt and for around six months without any problem. And from one day to another It started. So for you to know, I really hope it will help you out anyone that could have this problem.
As mentioned it seems to be an issue with the structured output parsing node.
I am also experiencing a sudden appearance of this error with my Agent nodes. Instead of the usual error “Model output doesn’t fit required format” I randomly get “Cannot read properties of undefined (reading ‘reduce’)”. When it happens, it seem like the structured output node isn’t even triggered.
The error only occurs within the agent node.
The interesting part: Going into the connected model node shows that the very first run seems to have output something. For some reason (probably due to the response format node) it starts another run but now outputting given error.
Short question for troubleshooting: Which Version of the Agent node are you using?
Open Agent Node –> Click Settings –> look at the bottom corner of the input fields: There should be the current Version of your Node and the latest available Version.
I noticed I was using Version 1.8 while the newest version was 3.1. I updated the node and am currently running the Node over and over to see if it fails again and so far the error didn`t appear again.