{"action":"opened","issue":{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/34","labels_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/34/comments","events_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/34/events","html_url":"https://github.com/chrsmith/google-api-java-client/issues/34","id":59522005,"number":34,"title":"YouTube uploading","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Type-Sample","name":"Type-Sample","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-02T18:23:25Z","updated_at":"2015-03-02T18:23:25Z","closed_at":null,"body":"```\nWhich API and version (e.g. Google Calendar Data API version 2)?\nYouTube Data API version 2\n\nWhat format (e.g. JSON, Atom)?\nAtom\n\nWhat Authentation (e.g. OAuth, OAuth 2, Android, ClientLogin)?\nOAuth\n\nJava environment (e.g. Java 6, Android 2.2, App Engine 1.3.7)?\nJava 6\n\nExternal references, such as API reference guide?\n\n\nPlease provide any additional information below.\nCould you please expand the YouTube sample to demonstrate video uploading? I've \ntried all uploading methods (Direct uploading, resumable uploading, uploading \nwithout metadata) and always get a Bad Request. All other functionality \n(accessing videos, deleting them, etc) is working, it is only uploading where \nI'm having the problems. Uploading in this fashion (using \nMultipartRelatedContent) works perfectly for me with Picasa. What is different \nabout YouTube?\n```\n\nOriginal issue reported on code.google.com by `jsjenkin...@gmail.com` on 1 Oct 2010 at 2:40\n* Merged into: #16"}}