Describe the problem/error/question
When I run Python code node and print things to the console, nothing is printed in the console. I only see error messages or if something was returned it is returned there.
I copied the output of the HTML5 node into my local Python notebook and pretty quickly parsed the html in that environment however cannot for the life of me figure out what is happening in n8n because there is no console log.
What is the error message (if any)?
If I try returning something instead of printing it and it is not what n8n expects as the output then it doesnt show me what was actually returned which is very frustrating for debugging. I’m basically guessing what my output was when I get an error.
Please share your workflow
I have a Gmail trigger that pulls email data from a specific sender, specific HTML elements are selected with an HTML5 block and that HTML is returned in JSON format. Then I am trying to use a Python code block to parse this html data into a dataframe then into a structured json format.
Share the output returned by the last node
[
{
“$$flags”: 31
}
]
Information on your n8n setup
- n8n version:
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system:
