Cannot read properties of undefined (reading 'message')

Describe the problem/error/question

Hi, I’m planning to build a simple news notification workflow that retrieves content from 5 websites and uses Basic LLM Chain to summarize this content. However, the LLM Chain always fails with the error: Cannot read properties of undefined (reading ‘message’).

The model I’m using is : google/gemini-2.5-pro-exp-03-25:free

What is the error message (if any)?

Cannot read properties of undefined (reading ‘message’)

Please share your workflow

Share the output returned by the last node

This is the input from Loop over items to LLM Chain.

[
{
“content”: “content”
}
]

Information on your n8n setup

  • n8n version: 1.86.1
  • Database (default: SQLite): default
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • **Running n8n via (Docker, npm, n8n cloud, desktop app): desktop **
  • Operating system: Windows`

Hi, Are you sure you sent the right workflow? it already generates errors as early as “Format RSS results”

reg,
j.

Thank you for your response. Yes, I’m confident that this is the correct workflow. Here are a few results I’ve get from the ‘Format RSS Results’ node.
[
{

“title”: “史丹佛大學AI指數報告:中國AI論文及專利數量最多,美國先進AI模型數量超越全球總和 - iThome”,

“link”: “https://news.google.com/rss/articles/CBMiSEFVX3lxTE03MmVmajFxLVZ6TFMxUVp1LVBQT3FRYlJmMkxZWGVRWTZPMDB4ZHJyblNDSmxkT0FlVnpiZ2o5QmVnWXV2RkNRSg?oc=5”,

“source”: “iThome”,

“pubDate”: “Wed, 09 Apr 2025 08:59:31 GMT”,

“source_”: {

“_”: “iThome”,

“url”: “https://ithome.com.tw

},

“guid”: “CBMiSEFVX3lxTE03MmVmajFxLVZ6TFMxUVp1LVBQT3FRYlJmMkxZWGVRWTZPMDB4ZHJyblNDSmxkT0FlVnpiZ2o5QmVnWXV2RkNRSg”

},

{

“title”: “是德科技推出全新AI架構解決方案,提升AI資料中心的可擴展性 - iThome”,

“link”: “https://news.google.com/rss/articles/CBMiRkFVX3lxTE9GanlzdlJYQVVjZExabUlJWFl2RnV6NGtIZHFDZHZfcURaLWRoZFpRaDdhdWE1V1Z1Nk5ncFlJVC1peFBSdlE?oc=5”,

“source”: “iThome”,

“pubDate”: “Tue, 08 Apr 2025 16:26:15 GMT”,

“source_”: {

“_”: “iThome”,

“url”: “https://ithome.com.tw

},

“guid”: “CBMiRkFVX3lxTE9GanlzdlJYQVVjZExabUlJWFl2RnV6NGtIZHFDZHZfcURaLWRoZFpRaDdhdWE1V1Z1Nk5ncFlJVC1peFBSdlE”

},
]

Hi,

this is what i get for the URL that is embedded in your workflow

Surely this is because its localized but even I don’t have the same structure.

Do you have any other news site i can try?

reg,
J.

Well, I’m not quite sure where the problem is,:sweat_smile:. How about I give you the values so you can start from the Article Summary part? :grinning:

This is the input for the Article Summary part of GetWebInfo. Would you like to try and see if you can access the site or not?
[

{

“google_news_url”: “史丹佛大學AI指數報告:中國AI論文及專利數量最多,美國先進AI模型數量超越全球總和 | iThome

},

{

“google_news_url”: “是德科技推出全新AI架構解決方案,提升AI資料中心的可擴展性 | iThome

},

{

“google_news_url”: “數發部與國科會將以10年100億元,結合民間創投扶植國內AI產業發展 | iThome

},

{

“google_news_url”: “CoreWeave將買下AI開發者平臺Weights & Biases | iThome

},

{

“google_news_url”: “微軟傳正在建立與OpenAI對抗的AI模型 | iThome

}

]

Oh, I figured out the issue! :grinning: . My model (google/gemini-2.5-pro-exp-03-25) executed successfully, but it didn’t return any value. That’s why the Basic LLM Chain encountered an error

Thank’s for your help!