Retool Web App Cant Upload Files To Google Drive from FileInputDrop

  1. My goal: I am trying to take files sent to a fileinput and send them to google drive

  2. Issue: I can pass the name and mimetype but the file created on google drive does not contain any data, since the base64 data is not being sent

  3. Steps I've taken to troubleshoot:

  4. Additional info: (Cloud or Self-hosted, Screenshots):

    buttonUploadClickHandler (Resource Shared-All users/ Google Doc & Google Drive)


Code which runs when the button is clicked to upload to Google Drive

Anyone at retool able to help?

Hey @Bijan_Tavakoli - welcome to the community!

And thanks for bringing this up. There's actually a fairly active conversation happening internally about this same exact issue. In short, though, the underlying OpenAPI connector that powers the resource doesn't support file uploads. We're already planning a refactor that will unlock this functionality, but it's unclear when that project will be finished. In the meantime, you can alternatively configure a dedicated REST API resource similar to what is shown here.

Let me know if you have any additional questions! If you want to talk through the alternative that I mentioned above, you can always join our Office Hours.