question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Google Drive upload & replace file actions missing `uploadType` prop

See original GitHub issue

Describe the bug

The Google Drive API requires the uploadType to equal resumable or multi-part if uploading files over 5mb in size.

However, we’re currently not exposing this option in the Replace File or Upload File pre-built actions.

Specific Google Drive uploadType parameter docs:

https://developers.google.com/drive/api/guides/manage-uploads

To Reproduce Steps to reproduce the behavior:

  1. Upload a large file over 5mbs to your workflow
  2. Attempt to upload the file to your Google Drive account
  3. Receive “File too large” error

Expected behavior I expect to be able to specify a uploadType prop on the pre-built action to allow me to upload larger files to Google Drive.

Screenshots If applicable, add screenshots to help explain your problem.

d60ca763eb382297225c84e7d7e7ff7f869784a6_2_1380x752

Additional context Original user report: https://pipedream.com/community/t/google-drive-replace-file-uploadtype-param/2551/3

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:28 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
noahlocke-uwcommented, Jun 21, 2022

yes

1reaction
noahlocke-uwcommented, Jun 21, 2022

Fixed! I changed the CURL to --data-binary and it works now

Read more comments on GitHub >

github_iconTop Results From Across the Web

Google Drive Replace File uploadType param - #6 by noahlocke-uw ...
Hi, the Google Drive Replace File connector is great, but it fails if the ... [BUG] Google Drive upload & replace file actions...
Read more >
Files: update | Google Drive
The type of upload request to the /upload URI. If you are uploading data (using an /upload URI), this field is required. If...
Read more >
Fix common issues in Google Drive
If you're having trouble viewing a file in Google Drive, here's how you can try to fix the issue. 1. Wait and try...
Read more >
Upload Files to Google Drive using Javascript - gists · GitHub
I think that this might not be able to upload files and metadata with the multipart/related, although this might be resolved by the...
Read more >
FileSystem - Expo Documentation
Within Expo Go, each project has a separate file system and has no access to ... It is also capable of uploading and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found