We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Everything was working until a few hours ago and now none of the code nodes seem to be working. Gets stuck on executing!
Code note in other Workflows have also stopped working
I did the following to try to fix the issue...
I duplicated the Code node
I copy/pasted the code into a new code node
I duplicated the entire workflow
I redid the code from scratch.
None of the above worked.
My Code: ` if (!items[0]?.json?.data) { throw new Error("Input data is missing or invalid."); }
let jsonData; try { jsonData = JSON.parse(items[0].json.data); } catch (error) { throw new Error("Failed to parse JSON: " + error.message); }
// Extract the link to the .vtt file or provide a fallback const vttLink = jsonData.link || "Link not available";
// Return the link as output return [ { json: { vttLink: vttLink, } } ];
`
Code node should execute the code.
Online Version
Running version [email protected]
SQLite (default)
main (default)
The text was updated successfully, but these errors were encountered:
Hey @bb-nik,
We have created an internal ticket to look into this which we will be tracking as "N8N-8004"
Sorry, something went wrong.
FYI: Restarting the Workspace fixed the issue.
No branches or pull requests
Bug Description
Everything was working until a few hours ago and now none of the code nodes seem to be working. Gets stuck on executing!
Code note in other Workflows have also stopped working
I did the following to try to fix the issue...
I duplicated the Code node
I copy/pasted the code into a new code node
I duplicated the entire workflow
I redid the code from scratch.
None of the above worked.
To Reproduce
My Code:
`
if (!items[0]?.json?.data) {
throw new Error("Input data is missing or invalid.");
}
let jsonData;
try {
jsonData = JSON.parse(items[0].json.data);
} catch (error) {
throw new Error("Failed to parse JSON: " + error.message);
}
// Extract the link to the .vtt file or provide a fallback
const vttLink = jsonData.link || "Link not available";
// Return the link as output
return [
{
json: {
vttLink: vttLink,
}
}
];
`
Expected behavior
Code node should execute the code.
Operating System
Online Version
n8n Version
Running version [email protected]
Node.js Version
Online Version
Database
SQLite (default)
Execution mode
main (default)
The text was updated successfully, but these errors were encountered: