google-api-nodejs-client icon indicating copy to clipboard operation
google-api-nodejs-client copied to clipboard

First video upload on youtube results in success but youtube never processes the video.

Open twilson90 opened this issue 1 year ago • 2 comments

Environment details

  • OS: Windows 11
  • Node.js version: 22.9.0
  • npm version: 10.8.3
  • googleapis version: 140.0.1

Whenever I try to upload videos via the API, the first attempt always results in a video that never gets processed by YouTube. The response from the API will indicate thyat the video has successfully uploaded, but in Youtube Studio I'll see: chrome_fk1xvFDjwe

'Upload 0%' remains indefinitely (even though it's been completely uploaded) and it never gets processed. I have to manually cancel it and run the script again, the second attempt will always succeed and the video will get processed.

Has anyone else experienced this behaviour? What might be the cause?

This is my script: https://github.com/twilson90/concat-cam-videos/blob/main/index.js

twilson90 avatar Sep 26 '24 11:09 twilson90