Upload a file to Xano with custom JavaScript - WeWeb error

I am extremely lost with the same issue. And when I run it outside of workflow editor, in the preview mode while looking at the developer tools console, I still see the same error.