RetrieveAllUsers() - 500 Internal Server Error

76 views
Skip to first unread message

snacknuts

unread,
Mar 29, 2011, 11:10:10 AM3/29/11
to google-app...@googlegroups.com
We have 21219 users in our apps domain now, and have been getting more frequent errors in the gdata python api:

service = gdata.apps.service.AppsService(email=admin_username, domain=our_domain_name, password=our_passwd)
service.ProgrammaticLogin()
try:
  users = service.RetrieveAllUsers()

throws the exception:
 {'status': 500, 'body': 'Internal Error', 'reason': 'Internal Server Error'}

Before we migrated all our students to apps, this error occurred very rarely (Once every few days).  Now it occurs more often then not...
Is there a different way we should be listing our users via the API?
(we tend to get the same error when we 'service.RetrieveAllNicknames())

Please advise :)

~J

Claudio Cherubino

unread,
Mar 29, 2011, 11:26:28 AM3/29/11
to google-app...@googlegroups.com, snacknuts
Hi,

I found the server-side errors in our logs and I filed an internal bug for the engineers to investigate the issue.
I'll get back to you as soon as possible.
Thanks

Claudio


--
You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" group.
To post to this group, send email to google-app...@googlegroups.com.
To unsubscribe from this group, send email to google-apps-mgmt...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-apps-mgmt-apis?hl=en.

Claudio Cherubino

unread,
Jun 2, 2011, 6:11:46 AM6/2/11
to google-app...@googlegroups.com, snacknuts
Hi,

Sorry for the delay.
Can you tell us if you are still affected by this issue?
Thanks

Claudio


Joey Hereford

unread,
Jun 2, 2011, 9:08:14 AM6/2/11
to google-app...@googlegroups.com

Yes.  Some days it happens more often than others.. but it’s still happening regularly.

Claudio Cherubino

unread,
Jun 16, 2011, 11:43:23 AM6/16/11
to google-app...@googlegroups.com
Thanks for confirming it.
Can you please write us as soon as you get a new occurrence of this error so that we can track down the issue in our logs?
Thanks a lot

Claudio

Joey Hereford

unread,
Jul 8, 2011, 11:16:19 AM7/8/11
to google-app...@googlegroups.com

Any update on this issue?  It seems to be happening more frequently lately.

 

 

From: Claudio Cherubino [mailto:ccher...@google.com]
Sent: Thursday, June 02, 2011 5:12 AM
To: google-app...@googlegroups.com
Cc: Joey Hereford
Subject: Re: [google-apps-apis] RetrieveAllUsers() - 500 Internal Server Error

 

Hi,

Joey Hereford

unread,
Jul 11, 2011, 11:47:33 AM7/11/11
to google-app...@googlegroups.com

I missed the request for times it was happeneing (wasn’t following group)

It’s happening more often than not now.

The most resent was:

2011-07-11 10:46:15.103243:Error encountered @RetrievingAllUsers():{'status': 500, 'body': 'Internal Error', 'reason': 'Internal Server Error'}

 

From: Claudio Cherubino [mailto:ccher...@google.com]
Sent: Thursday, June 02, 2011 5:12 AM
To: google-app...@googlegroups.com
Cc: Joey Hereford
Subject: Re: [google-apps-apis] RetrieveAllUsers() - 500 Internal Server Error

 

Hi,

Michael Manoochehri

unread,
Jul 11, 2011, 2:30:28 PM7/11/11
to google-app...@googlegroups.com
Hi Joey:

I took a look at our API logs. Over the weekend we had some service outages affecting the User Profiles API, and some of the 500 status messages seem to be related to those outages. Unfortunately, I don't have any way to look at logs for older requests. Our engineering team has been busy stabalizing the Apps CPanel and Profiles API, so these particular issues should clear up today. Please let us know on this thread if, after today, you notice a growing amount of 500 errors.

In any case, these errors don't seem specific to a domain or user - In this case, I would recommend that your code catch the 500 status response (the same way you should for 503 status messages) and retry the API call.

Thanks,
- Michael

Joey Hereford

unread,
Jul 11, 2011, 3:00:23 PM7/11/11
to google-app...@googlegroups.com

Here’s some more times:

./google-map-dumper.py:2011-07-11 11:28:26.101261:Error encountered @RetrievingAllUsers():{'status': 500, 'body': 'Internal Error', 'reason': 'Internal Server Error'}

./google-map-dumper.py:2011-07-11 12:22:58.432822:Error encountered @RetrievingAllUsers():{'status': 500, 'body': 'Internal Error', 'reason': 'Internal Server Error'}

./google-map-dumper.py:2011-07-11 13:21:22.447114:Error encountered @RetrievingAllUsers():{'status': 500, 'body': 'Internal Error', 'reason': 'Internal Server Error'}

 

 

 

From: Claudio Cherubino [mailto:ccher...@google.com]
Sent: Thursday, June 02, 2011 5:12 AM
To: google-app...@googlegroups.com
Cc: Joey Hereford
Subject: Re: [google-apps-apis] RetrieveAllUsers() - 500 Internal Server Error

 

Hi,

Reply all
Reply to author
Forward
0 new messages