Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.io.IOException: response code='Unauthorized' (code 401) #13

Open
GoogleCodeExporter opened this issue Jul 20, 2015 · 0 comments
Open

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Replace dev_key and client_id in string.xml 
2. Install apk file in mobile which is already configured with Google account
3. Runt the app and select video and submit video to youtube.


What is the expected output? What do you see instead?
Instead of Successful video upload to Youtube im getting following error

11-24 12:07:40.878: WARN/System.err(21019): java.io.IOException: response 
code='Unauthorized' (code 401) for 
http://uploads.gdata.youtube.com/resumable/feeds/api/users/default/uploads
11-24 12:07:40.878: WARN/System.err(21019):     at 
com.google.ytd.SubmitActivity.uploadMetaData(SubmitActivity.java:531)
11-24 12:07:40.878: WARN/System.err(21019):     at 
com.google.ytd.SubmitActivity.uploadMetaData(SubmitActivity.java:528)
11-24 12:07:40.878: WARN/System.err(21019):     at 
com.google.ytd.SubmitActivity.startUpload(SubmitActivity.java:422)
11-24 12:07:40.878: WARN/System.err(21019):     at 
com.google.ytd.SubmitActivity.access$5(SubmitActivity.java:414)
11-24 12:07:40.878: WARN/System.err(21019):     at 
com.google.ytd.SubmitActivity$8.run(SubmitActivity.java:360)
11-24 12:07:40.888: WARN/System.err(21019):     at 
java.lang.Thread.run(Thread.java:1027)


What version of the product are you using? On what operating system?


Please provide any additional information below.

11-24 12:07:40.878: WARN/System.err(21019): java.io.IOException: response 
code='Unauthorized' (code 401) for 
http://uploads.gdata.youtube.com/resumable/feeds/api/users/default/uploads
11-24 12:07:40.878: WARN/System.err(21019):     at 
com.google.ytd.SubmitActivity.uploadMetaData(SubmitActivity.java:531)
11-24 12:07:40.878: WARN/System.err(21019):     at 
com.google.ytd.SubmitActivity.uploadMetaData(SubmitActivity.java:528)
11-24 12:07:40.878: WARN/System.err(21019):     at 
com.google.ytd.SubmitActivity.startUpload(SubmitActivity.java:422)
11-24 12:07:40.878: WARN/System.err(21019):     at 
com.google.ytd.SubmitActivity.access$5(SubmitActivity.java:414)
11-24 12:07:40.878: WARN/System.err(21019):     at 
com.google.ytd.SubmitActivity$8.run(SubmitActivity.java:360)
11-24 12:07:40.888: WARN/System.err(21019):     at 
java.lang.Thread.run(Thread.java:1027)

Original issue reported on code.google.com by [email protected] on 24 Nov 2011 at 11:14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant