User-uploaded file to google drive

Hi guys, I am trying to build a page which takes user uploaded application file and when the user click submit button, I would like to take the user-uploaded file to my google drive. I have already done all setup for google drive integration from velo package (Google Drive Integration - Velo API Reference - Wix.com) and I double-checked that there is no problem with the setup stage.

I think the problem is to make a file into an url format to use ‘uploadFileByUrl()’ function from the velo package. However, I could not find enough resource or documentation regarding file upload to google drive from wix. If anyone has done something similar, I would love to know how you handled this issue.

Can you share the code that is causing the issue?