How can I use form-data in the "Execute Script" action to send files via BambooHR API?

I'm trying to upload a file to BambooHR using the form-data module, but I receive this error: