I am using Python3 function and facing this following errors,
File "C:\Python39\lib\json_init_.py", line 341, in loads.
s = s.decode(detect_encoding(s), 'surrogatepass') File "C:\Python39\lib\encodings\utf_32_le.py", line 11, in decode.
return codecs.utf_32_le_decode(input, errors, True)UnicodeDecodeError: 'utf-32-le' codec can't decode bytes in position 16-19: code point not in range(0x110000)
I presume you mean node-red-contrib-python3-function.
If you look at its page in the flows site you will see it has not been updated in 4 years, and there are unaddressed issues on its github page.
There have been issues with both python nodes and many have switched to calling the python script in an exec node instead, or for long running scripts using the daemon node, or running the script completely outside node-red and communicating with it via MQTT or other method.