Use a List, add the images path in the list and then put the list variable in OpenFileResult, if you use a string array instead of list it will not work.
@Roy-Mustang Вы были правы. У меня действительно были эмодзи в скрипте Node.js. После их удаления я смог нормально загрузить его на сервер. Большое спасибо!