Error when communicating with the native messaging host

I running the rpa in linux.

command: xrun and wait
target: /user/bin/python3
value: /home/tch/Downloads/colour_api.py

result:
[error] Line 1: Error when communicating with the native messaging host.

Hi, what version of Linux is this?

version : ubuntu 22.04