Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3831

YouTube Upload Error - Upload failed: Can't process file

$
0
0

I am using this sample application for uploading a video on to YouTube. Initially I can able to upload the videos successfully without any issue, but after few days suddenly I have been facing the below error.

https://github.com/youtube/api-samples/tree/master/java

After completing upload, when I check the video in the Videos list of my channel, there it is showing an error(Upload failed: Can't process file) like below

enter image description here

The class I am using is

https://github.com/youtube/api-samples/blob/master/java/src/main/java/com/google/api/services/samples/youtube/cmdline/data/UploadVideo.java

And while executing, the messages in the console are as in the below.

Jul 15, 2017 2:02:59 PM com.google.api.client.util.store.FileDataStoreFactory setPermissionsToOwnerOnlyWARNING: unable to change permissions for everybody: C:\Users\Krishna\.oauth-credentialsJul 15, 2017 2:02:59 PM com.google.api.client.util.store.FileDataStoreFactory setPermissionsToOwnerOnlyWARNING: unable to change permissions for owner: C:\Users\Krishna\.oauth-credentialsis is not emptyInitiation StartedInitiation CompletedUpload in progressUpload percentage: 10485760Upload Completed!================== Returned Video ==================  - Id: wYB8OfEe9jU  - Title: ex  - Tags: [video, file]  - Privacy Status: public  - Video Count: 0

Viewing all articles
Browse latest Browse all 3831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>