Hi, I can't get it work. Here are some details:

1) I created a developer key with my Google account
2) I created a YouTube account through my Google account (username: youtubeuser) as suggested in one of the other threads.
3) I installed this module on my local machine to test and entered the required info:
a) my developer key
b) my youtube username (youtubeuser), also tried my google account (my.name@gmail,com)
c) my google account password

And I get the following error:

Video Upload: YouTube Authentication Failed
The Video Upload module has the required information, but was unable to authenticate to YouTube. There may be an error in one or more of the following:
- username
- password
- developer key

What is the problem? Is it because I try it on my local machine? Do I need to enter my youtube client ID? I triple-checked my username (tried both youtube and google logins), my password and the developer key - the same problem.

Please help. Thanks!

Comments

costinius’s picture

Any ideas anybody? Thanks

graper’s picture

In the content type that you've setup change the Default Video Description Synchronization to "Don't Synchronize".

also change Default Video Keyword Synchronization to "Don't Synchronize" as well.

see if that helps because I know I was getting the same thing, then I tried uninstalling and reinstalling the module and turned it on with default settings and it seemed to work. Went in and changed some settings and it keep coming up with that error. I think I have my keyword sync set to append.

Granville

costinius’s picture

Status: Active » Fixed

Thank you, Granville! Actually the problem was very stupid - I didn't switch on the openssl extension in my php settings. There was no mentioning about that in the INSTALL.TXT, only on the documentation pages on drupal.org.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

verta’s picture

Version: 5.x-1.0-beta2 » 6.x-2.x-dev
Component: Miscellaneous » Documentation
Category: support » feature
Status: Closed (fixed) » Active

Just ran into this. Tried all kinds of things, even downgraded Zend, contemplated deleting and recreating the YouTube account before finding this thread.

Updating this issue as a documentation request for INSTALL.TXT:

Please mention that the PHP SSL library must be enabled in PHP.INI for this module to work. It might also be a nice thing to mention on the error screen on admin/reports/status when the authentication fails, something like, 'Did you enable OpenSSL in PHP.INI,' with a link to admin/reports/status/PHP for a prompt to go look and see if that's the problem.

extension=php_openssl.dll

Without it, you will get "authentication failed" errors, with no explanation why it fails.

Anonymous’s picture

I'm still getting authentication error and the suggestion to check credentials. I've checked and triple checked. I also added extension=php_openssl.dll to php.ini. Not fixed for me.

Anonymous’s picture

I had to use the email address of my YouTube account instead of my username to get authentication to work. Don't know why this worked but it did.

davidcsonka’s picture

Answer #7 worked for me also. It looks like Google changed the authentication user name for YouTube to the email account.

Aksharpanziar’s picture

I have tried all of these things and quaDrupal verified everything. I give up. Sometimes it just doesn't work!

Aksharpanziar’s picture

Actually... despite my best efforts, I am an idiot. After triple checking everything from openssl youtube, dev keys, and the very helpful advice in discussions like this, I misspelled my email address ...arrrhg! it works perfectly! Thanks everyone.

tzin111@gmail.com’s picture

Issue summary: View changes

in my case i use 7.1 for some thing like 1.5 years and today its stop working.

somebody have ideas for me ?