n8n-nodes-python
n8n-nodes-python copied to clipboard
Error when parsing output of PythonFunction
According the error message, the output stderr contains invalid token /. But I am sure that the code in the PythonFunction.node is correct.
How can I get the stderr of PythonFunction.node
hi @naskio , do you get a chance to take a look at this issue. Might point me a right direction
In the n8n web page, I got the same error response as this issue.
But in the GCP cloud logging, I got the error log like this. I am quite confused about this.
The python code in the node in the workflow executed normally except output the expected result.
In the attached screenshot of the code, the line of code print(fileNames) executes successfully.
I am wondering what's wrong with the last line return fileNames #CHANGE
Looking forward to your suggestion