google-code-export / gdata-python-client

Automatically exported from code.google.com/p/gdata-python-client
1 stars 0 forks source link

500 Internal Server Error When Deleting a User #449

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This morning I noticed that my ability to delete via the API is failing. The 
same code worked last time I used it (about a week ago). I tried both 2.0.11 
release as well as the new 2.0.12 and both are giving me the same results.

What steps will reproduce the problem?
1. Authenticate using the User Service PrgrammaticLogin
2. Attempt to use the User Service DeleteUser method on a valid username
3. See 500 response

What is the expected output? What do you see instead?
    I expect the user to be deleted. Instead the following is raised:

        gdata.apps.service.AppsForYourDomainException: {'status': 500, 'body': 'Internal Error', 'reason': 'Internal Server Error'}

What version of the product are you using?
2.0.11 and 2.0.12

Please provide any additional information below.
   Code Snippet:
        self.__user_service = gdata.apps.service.AppsService(
                email=self._username, domain=self._domain,
                password=self._password)
        self.__user_service.ProgrammaticLogin()
        return self.__user_service.DeleteUser(username)

Original issue reported on code.google.com by steve.mi...@gmail.com on 20 Sep 2010 at 3:23

GoogleCodeExporter commented 9 years ago
Is this a problem with the client library or the underlying API? When I search 
the Apps API support forum I many references to temporary 500 issues. 

Are you still seeing this issue?

Original comment by joe.gregorio@gmail.com on 28 Sep 2010 at 3:28

GoogleCodeExporter commented 9 years ago
Hello, 

The problem comes from the Google Provisioning API, not from the Gdata 
Python Client. 
Post your issue in the Google Provisioning API 
forum: 
http://www.google.com/support/forum/p/apps-apis/label?lid=504de467935b3c0c&hl=en

Regards,
Alexandre Vivien

Original comment by alx.vivien on 28 Sep 2010 at 4:38

GoogleCodeExporter commented 9 years ago

Original comment by joe.gregorio@gmail.com on 19 Jan 2011 at 8:45