Cannot read properties of undefined (reading ‘map’) on OpenAI chat model

Hey guys, for some reason I just started getting this error on my AI agents
{
“errorMessage”: “Cannot read properties of undefined (reading ‘map’)”,
“errorDetails”: {},
“n8nDetails”: {
“time”: “10/3/2025, 12:23:56 PM”,
“n8nVersion”: “1.108.2 (Self Hosted)”,
“binaryDataMode”: “default”
}
}


Any idea how to solve it?

Can you share your entire workflow in a code block. What do you have in your system message and if you have a simple memory attached, disable that for now and see if the same error happens

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.