Issue 42 in google-sites-liberation: Invalid User Credentials error no matter which arguments I enter

194 views
Skip to first unread message

google-site...@googlecode.com

unread,
Jan 26, 2010, 4:12:41 PM1/26/10
to google-sites-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 42 by hollyshi...@yahoo.com: Invalid User Credentials error no
matter which arguments I enter
http://code.google.com/p/google-sites-liberation/issues/detail?id=42

What steps will reproduce the problem?
I tried at least 20 different combinations of host, domain, webspace,
username and password but every time I get "Invalid User Credentials".
1. I run the Jar file and enter in the host domain and webspace.
2. My site is http://sites.google.com/a/lilybclayton.org/www so I put
host=sites.google.com domain=lilybclayton.org, webspace=www
For username I tried including just my user id and also adding the domain
to the end but either way it does not work.

I am using Google Apps so it looks like domain is required.

What is the expected output? What do you see instead?
I am trying to export a copy of my web site.

What version of the product are you using? On what operating system?
The latest version 1.0.1 on Windows XP. I just downloaded Java 1.6 today
since I got other errors with Java 1.5.

Please provide any additional information below.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

google-site...@googlecode.com

unread,
Jan 27, 2010, 5:53:20 AM1/27/10
to google-sites-...@googlegroups.com

Comment #1 on issue 42 by kaelin.joseph: Invalid User Credentials error no

I have EXACTLY the same problem as discussed above in Issue 42.
My site is http://sites.google.com/a/poyry.com/padur-oil-storage-caverns.

google-site...@googlecode.com

unread,
Mar 4, 2010, 4:30:10 PM3/4/10
to google-sites-...@googlegroups.com

Comment #2 on issue 42 by nidhivivek: Invalid User Credentials error no

here is my site - http://sites.google.com/site/valushop

and I tried several combinations but I keep geeting invalid credentials
error.

google-site...@googlecode.com

unread,
Mar 5, 2010, 12:32:34 PM3/5/10
to google-sites-...@googlegroups.com

Comment #3 on issue 42 by joe.britton: Invalid User Credentials error no

Same problem here. I'm using 1.0.1 on Linux with Sun Java 6 runtime.

google-site...@googlecode.com

unread,
Mar 6, 2010, 12:21:41 AM3/6/10
to google-sites-...@googlegroups.com

Comment #4 on issue 42 by nidhivivek: Invalid User Credentials error no

Finally I was able to make it work -
Host: sites.google.com
Domain: site
Webspace: <<name which you registered with google sites>>. In my case, its
valushop
Username: google account name, try adding @gmail.com
Password

2 Important things to note -
Export- downloads the files from google.
Secondly, This program does not work through firewall. So if you have a
proxy
setting to access internet, it won't work. It did not work from my office
m/c.

google-site...@googlecode.com

unread,
Mar 7, 2010, 9:29:16 PM3/7/10
to google-sites-...@googlegroups.com

Comment #5 on issue 42 by tomdwyer44: Invalid User Credentials error no

HELLO

google-site...@googlecode.com

unread,
Jun 9, 2010, 1:20:45 AM6/9/10
to google-sites-...@googlegroups.com

Comment #6 on issue 42 by gfarrell01: Invalid User Credentials error no

hey tom

google-site...@googlecode.com

unread,
Jul 22, 2010, 5:14:42 PM7/22/10
to google-sites-...@googlegroups.com

Comment #7 on issue 42 by shilpasmurthy: Invalid User Credentials error no

Hi I have the exact same problem. I tried all combinations for domain,
username, webspace and all I get is Invalid credentials. I tried on
XP-Java1.6 and Mac with Java 1.6 with and without proxy, I still have the
same problem. I have a domain name.
Please advice..

google-site...@googlecode.com

unread,
Nov 9, 2010, 1:02:33 PM11/9/10
to google-sites-...@googlegroups.com

Comment #8 on issue 42 by ricpierce: Invalid User Credentials error no

Same problem here
Java (build 1.6.0_21-b07), Liberation tool 1.0.3 jar Windows Vista SP2

google-site...@googlecode.com

unread,
Jan 3, 2011, 5:28:43 AM1/3/11
to google-sites-...@googlegroups.com

Comment #9 on issue 42 by mpiraz: Invalid User Credentials error no matter

Same problem... Java (build 1.6.0_22-b04) Windows XP SP 3 error "Invalid
user credential"

google-site...@googlecode.com

unread,
Mar 28, 2011, 11:48:11 AM3/28/11
to google-sites-...@googlegroups.com

Comment #10 on issue 42 by MattTime...@gmail.com: Invalid User Credentials

Hey great, finally got it to work - I would suggest making the import and
export buttons clearer - took me ages to work it out.

(how about 'download from net' and 'upload to net' ?)

matt mars london

https://sites.google.com/site/abriefhistoryofTimelessness/

Mike Jaeger Live

unread,
Mar 31, 2011, 3:28:55 PM3/31/11
to google-sites-...@googlegroups.com
Thanks,
--
Sincerely
MikeJae...@gmail.com

google-site...@googlecode.com

unread,
Apr 13, 2011, 7:20:09 PM4/13/11
to google-sites-...@googlegroups.com

Comment #11 on issue 42 by valv...@gmail.com: Invalid User Credentials

Not able to work with google site that has external domain name just like
hollyshi...@yahoo.com,
where the google domain name is http://sites.google.com/a/blabla.org/

not able to export.

has any body been able to crack this ?

Thanks in advance

google-site...@googlecode.com

unread,
Jun 1, 2015, 8:40:25 AM6/1/15
to google-sites-...@googlegroups.com

Comment #28 on issue 42 by r...@bluecellenergy.com: Invalid User
Credentials error no matter which arguments I enter
https://code.google.com/p/google-sites-liberation/issues/detail?id=42

This still appears to be an issue with 1.0.4 on Linux.

I have a Google Apps-hosted site and therefore I don't have the "less
secure access" option. I've followed all the above instructions and I'm
certain that my settings are correct.

Is this tool still supported for Google Apps customers?

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

google-site...@googlecode.com

unread,
Jun 1, 2015, 6:12:20 PM6/1/15
to google-sites-...@googlegroups.com

Comment #29 on issue 42 by george.m...@regalfm.com: Invalid User
Credentials error no matter which arguments I enter
https://code.google.com/p/google-sites-liberation/issues/detail?id=42

I've had a daily job running with 1.0.4 on Ubuntu Linux for months now
which exports my site using the command line.

I have a Google Apps site.

A few days ago I started seeing this error happening every time I attempt
an export:

Jun 02, 2015 3:00:04 AM com.google.sites.liberation.export.Main doMain
SEVERE: Invalid User Credentials!
Exception in thread "main" java.lang.RuntimeException:
com.google.gdata.util.AuthenticationException: Error authenticating (check
service name)
at com.google.sites.liberation.export.Main.doMain(Main.java:89)
at com.google.sites.liberation.export.Main.main(Main.java:97)
Caused by: com.google.gdata.util.AuthenticationException: Error
authenticating (check service name)
at
com.google.gdata.client.GoogleAuthTokenFactory.getAuthException(GoogleAuthTokenFactory.java:614)
at
com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java:490)
at
com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(GoogleAuthTokenFactory.java:336)
at
com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:362)
at
com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:317)
at
com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:301)
at com.google.sites.liberation.export.Main.doMain(Main.java:79)
... 1 more

I had changed nothing - neither my login credentials nor the script.

Clearly Google has changed something on their end that has caused this to
break.

Is anyone looking further into this issue?

google-site...@googlecode.com

unread,
Jun 1, 2015, 9:05:32 PM6/1/15
to google-sites-...@googlegroups.com

Comment #30 on issue 42 by bri...@pariyatti.org: Invalid User Credentials
I am a Google Apps user with 2-step authentication enabled, and I can't get
this to work anymore. I tried an Application Specific Password, but no
luck. Also as noted above the "Less Secure Apps" option is not available to
Google Apps customers.

google-site...@googlecode.com

unread,
Jun 2, 2015, 2:12:55 AM6/2/15
to google-sites-...@googlegroups.com

Comment #31 on issue 42 by vdau...@gmail.com: Invalid User Credentials
Same here, used to work but now it's broken...

(see
https://code.google.com/p/google-sites-liberation/issues/detail?id=42#c26)

google-site...@googlecode.com

unread,
Jun 2, 2015, 6:17:24 AM6/2/15
to google-sites-...@googlegroups.com

Comment #32 on issue 42 by GLDresc...@gmail.com: Invalid User Credentials
Same here. I had enabled less-secure-apps when that option first started
blocking access to google sites liberation. That solved the problem for a
while, but now the invalid-credentials error occurs even with
less-secure-apps enabled, so google sites liberation no longer works.

google-site...@googlecode.com

unread,
Jun 2, 2015, 11:48:54 PM6/2/15
to google-sites-...@googlegroups.com

Comment #33 on issue 42 by oaceballos: Invalid User Credentials error no
Same problem here, 2-step-validation enabled, tried all of the proceses
posted before but no luck

google-site...@googlecode.com

unread,
Jun 30, 2015, 10:43:13 AM6/30/15
to google-sites-...@googlegroups.com

Comment #34 on issue 42 by fredy.ro...@gmail.com: Invalid User Credentials
I've been fighting this for like a month now and Google hasn't helped at
all.
I have a Google Apps site that cannot be exported anymore.
Reaching out asking if anybody has found a solution to the 'Invalid
Credentials' message of death?

google-site...@googlecode.com

unread,
Jun 30, 2015, 6:02:57 PM6/30/15
to google-sites-...@googlegroups.com

Comment #35 on issue 42 by george.m...@regalfm.com: Invalid User
Credentials error no matter which arguments I enter
https://code.google.com/p/google-sites-liberation/issues/detail?id=42

I have a Google Apps site. I have a daily cron job to do the export.

I started seeing the error at the start of June. It started working again
June 13 - 23 but then it broke again June 24 and hasn't worked since.

Can anyone help?

google-site...@googlecode.com

unread,
Jul 14, 2015, 5:14:09 AM7/14/15
to google-sites-...@googlegroups.com

Comment #36 on issue 42 by RettetDi...@gmail.com: Invalid User Credentials
Same here. Changing setting
https://www.google.com/settings/security/lesssecureapps didn't help.

google-site...@googlecode.com

unread,
Jul 22, 2015, 10:47:07 PM7/22/15
to google-sites-...@googlegroups.com

Comment #37 on issue 42 by dexe...@gmail.com: Invalid User Credentials
It's broken for me too, and I've tried everything suggested in this thread
several times over. No luck. And I just got an automated e-mail saying
someone who knew my password was trying to log onto my account. Yep,
Google, that would be ME.

Very frustrating. I have a large website on Google Sites that I need to
back up.

google-site...@googlecode.com

unread,
Jul 25, 2015, 11:14:33 AM7/25/15
to google-sites-...@googlegroups.com

Comment #38 on issue 42 by CityBowl...@gmail.com: Invalid User Credentials
As a new user I though how open minded Google was with this facility, but
it is difficult to get it to work and I have not managed yet. Using Mac Os
X 10.9.5 and Liberation 1.0.4.
My site is citybowlr...@gmail.com, but links to our old domain name
of cibra.co.za
It is NOT an Apps site.
I think i have tried all the work arounds I can find on the blogs.
Maybe I should just keep switching on and off like the standard IT help
desk response?

google-site...@googlecode.com

unread,
Jul 29, 2015, 9:55:32 AM7/29/15
to google-sites-...@googlegroups.com

Comment #39 on issue 42 by ihc...@gmail.com: Invalid User Credentials error
Google uses OAuth2 instead of user account/password.

I fixed the GUI interface.
<https://github.com/sih4sing5hong5/google-sites-liberation>

But I have no idea about OAuth2 with command lines.

google-site...@googlecode.com

unread,
Jul 29, 2015, 10:11:22 AM7/29/15
to google-sites-...@googlegroups.com

Comment #40 on issue 42 by RettetDi...@gmail.com: Invalid User Credentials
I tried the new Version and copy/pasted the token.
Now I get the following message:

"Retrieving site data (this may take a few minutes).
No data returned. You may have provided invalid Site information or
credentials."

google-site...@googlecode.com

unread,
Aug 12, 2015, 1:58:02 AM8/12/15
to google-sites-...@googlegroups.com

Comment #41 on issue 42 by ihc...@gmail.com: Invalid User Credentials error
It seems that login worked and parser failed.

Did the previous versions work?

google-site...@googlecode.com

unread,
Aug 12, 2015, 5:00:24 AM8/12/15
to google-sites-...@googlegroups.com

Comment #42 on issue 42 by RettetDi...@gmail.com: Invalid User Credentials
It used to work, but I think that has been more than a year back.

I'm not sure the login worked. The error message is the same when I make
random changes to the security token.

google-site...@googlecode.com

unread,
Aug 12, 2015, 5:03:50 AM8/12/15
to google-sites-...@googlegroups.com

Comment #43 on issue 42 by MattTime...@gmail.com: Invalid User Credentials
Who ever wrote Google sites liberation, thank you very much indeed.

but PLEASE, PLEASE, PLEASE, PLEASE, PLEASE, PLEASE, PLEASE, PLEASE,!

make it put out some sensible error messages.
"invalid user credentials" is absolutely useless.

if the program detects an error then it must know where, and what the error
is, so PLEASE let us know what box needs changing, and how , and why, and
give an example of the correct format of input for the error box.

or if the PW is in valid say so.

at the moment "invalid credentials" seems to mean any one, or more of 6
values may be wrong, which means we have to work out from 6x5x4x3x2
possible problems.

thanks again though, its invaluable when it works, but even the same
settings week to week randomly work or mainly dont.

i think i speak for most people on this forum - guys, and ladies, please
vote this up or copy it if thats so.

sincerely
M.Marsden

www.timelessness.co.uk
https://sites.google.com/site/abriefhistoryoftimelessness/home

google-site...@googlecode.com

unread,
Aug 12, 2015, 5:08:44 AM8/12/15
to google-sites-...@googlegroups.com

Comment #44 on issue 42 by MattTime...@gmail.com: Invalid User Credentials
ps THANK YOU IHC ( post #29)
for your post, that fixed it for me, but GSL still needs some clear error
messages
thanks again
mm
timelssness.co.uk

Google uses OAuth2 instead of user account/password.

I fixed the GUI interface.
<https://github.com/sih4sing5hong5/google-sites-liberation>

But I have no idea about OAuth2 with command lines.

google-site...@googlecode.com

unread,
Aug 13, 2015, 5:27:32 AM8/13/15
to google-sites-...@googlegroups.com

Comment #45 on issue 42 by ihc...@gmail.com: Invalid User Credentials error
I published the version 1.0.6 for new error message.

for @Retter, you can try again

I think GSL cannot parse your articles because some types of articles are
not supported.

It need someone to add parser for other types.

I only fixed the login function from version 1.0.4.


for @Matt

Where did you get "invalid user credentials" ?

In GUI version?

google-site...@googlecode.com

unread,
Aug 13, 2015, 9:28:56 AM8/13/15
to google-sites-...@googlegroups.com

Comment #46 on issue 42 by RettetDi...@gmail.com: Invalid User Credentials
@ihc: Thank you! Thanks to the error message I got it working.

Problem was: I set Domain to "Google.com" instead of "site"
--> I suggest changing the missleading screenshot on the start page.
https://github.com/sih4sing5hong5/google-sites-liberation

greetings
Michael

google-site...@googlecode.com

unread,
Aug 21, 2015, 11:56:57 AM8/21/15
to google-sites-...@googlegroups.com

Comment #47 on issue 42 by sdlucas...@gmail.com: Invalid User Credentials
I've been having the same problem as above with "Invalid User Credentials!"

The 1.0.6 GUI update works (even though I usually use the command line) but
for some of the webpages I get "The class of page is not supported!The
class of page:class com.google.gdata.data.sites.ListItemEntry"

Also, is there a way to pass the app authentication token using the command
line?
Reply all
Reply to author
Forward
0 new messages