youtube api in action
I'm trying to upload a file to youtube from a convex action, but I get this error:
3 Replies
Thanks for posting in <#1088161997662724167>.
Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets.
- Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.)
- Use search.convex.dev to search Docs, Stack, and Discord all at once.
- Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI.
- Avoid tagging staff unless specifically instructed.
Thank you!
two clarifying questions:
- is this a node action?
- what is
file
?
according to https://github.com/googleapis/google-api-nodejs-client/issues/1833 this error looks like what would happen if file.stream()
has the wrong typeGitHub
part.body.pipe is not a function · Issue #1833 · googleapis/google-...
Environment details OS: Linux Node.js version: 12.9.0 npm version: 6.11.2 googleapis version: 43.0.0 Steps to reproduce I have the following piece of code: const drive = google.drive({ version: ...
I fixed this by wrapping the convex file stream with a node stream