Errors in the browser console on n8n 1 version

Greetings. Updated from version 0.236.3 to version 1.18.2. It seems that everything is configured and everything is working.

Describe the problem/error/question

Cyclic error in the browser console is very scary.
Uncaught (in promise) TypeError: t.includes is not a function
at Proxy.onPostMessageReceived
I think I configured something wrong. Tell me what could be wrong and what settings to check?

What is the error message (if any)?

Information on your n8n setup

  • n8n version: 1.18.2
  • Database: PostgreSQL
  • Running n8n via: Docker
  • Operating system: Debian 11

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

I think that issue is probably caused by other browser extensions like Metamask sending messages to the window. Can you please try in an incognito window which does not have any extension active if you also see console logs like that.
We will change in future versions to ignore those messages.

1 Like

Thanks for reporting this.
The issue is exactly what Jan said: a browser extension or a user-script is sending postMessage messages to the n8n window, and we were not ignoring them properly.

We’ve improved the check to ignore such messages, and the fix will be included in the next release on Wednesday.

New version [email protected] got released which includes the GitHub PR 8096.

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