@rbabayoff is correct – you must upload the file from memory (not by referencing a URL).
Check out this snippet to learn how to upload a file in NodeJS from a buffer: Uploading a file the hard way
I’d also recommend upvoting this feature request if you’d like to upload a file from URL: Upload file from URL