Code Node Shows No Output in UI Despite "Successful" Execution (n8n Cloud) - "Uncaught (in promise) Error"

Hi n8n Community,

I’m encountering a persistent issue with the “Code” node on my n8n Cloud instance where it fails to display any output in the UI’s “OUTPUT” panel, even for extremely simple JavaScript.

Environment:

I am an n8n Cloud user.

My instance was on version 1.94.1 and I’ve since updated to the latest available version (the issue persists after the update).
Browsers Tried: Chrome (normal and Incognito mode), Safari.

Problem Description: The “Code” node consistently shows an empty “OUTPUT” panel (it says “Execute this node to view data or set mock data” even after execution). This occurs even when using the following ultra-simplified test code:

JavaScript// Ultra-Simplified Test return [{ json: { message: "Test output from Code node" } }];

Preceding nodes in the workflow (a “Set” node and a “Google Sheets” node that reads an empty sheet) execute successfully with green checkmarks.

Key Discrepancy: When I used n8n’s built-in “Ask AI” feature regarding this Code node (while it had the ultra-simplified code), the AI assistant reported: “Based on the workflow’s latest execution status, it was successful, so there are no error messages reported for this node.” It also confirmed the code *should output the test message. This suggests the backend might be executing the code correctly, but the result isn’t being displayed in the frontend UI.

Error Message in Browser Console: The most prominent error I see in my browser’s developer console when this happens is: "Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received" I also see some unrelated “403 Forbidden” errors for an ingest.us.s...rjpt.vue URL, but the “Uncaught (in promise) Error” seems most relevant to this Code node behavior.

Troubleshooting Steps Already Taken:

  1. Tested with the ultra-simplified JavaScript code shown above.
  2. Ensured my n8n Cloud instance is updated.
  3. Tried different web browsers (Chrome, [Other Browser]).
  4. Used incognito/private Browse mode (Chrome).
  5. Explicitly disabled all browser extensions and restarted the browser."
  6. Deleted the problematic Code node and created a brand new one; the issue remained.

Impact: This issue is currently blocking me from using the Code node for any JavaScript logic, which is essential for the workflow I’m trying to build (processing data, custom transformations).

Question: Has anyone encountered a similar issue with the Code node on n8n Cloud, particularly with the “Uncaught (in promise) Error”? Any insights into why the UI might not show output despite a reported successful backend execution, or any potential solutions/workarounds for n8n Cloud users?

Thanks in advance for your help!

Hi there, can you share your workflow? so it would be easier for us to help you identify the problem