Groups Migration API quickstart error 500

179 Views Asked by At

I'm trying to get started with the Groups Migration API. After much frustration, I believe I have gotten past authentication problems which stymied me for a long while. Now I'm stuck trying to get the rest of the quickstart.py script working. I got it from here:

https://developers.google.com/admin-sdk/groups-migration/v1/quickstart/python

When I run it, I get a 500 "backend error" response:
Traceback (most recent call last):
  File "quickstart.py", line 104, in <module>
    main()
  File "quickstart.py", line 96, in main
    media_body=media).execute()
  File "/Users/skip/local/lib/python2.7/site-packages/oauth2client/util.py", line 137, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/Users/skip/local/lib/python2.7/site-packages/googleapiclient/http.py", line 760, in execute
    raise HttpError(resp, content, uri=self.uri)
googleapiclient.errors.HttpError: <HttpError 500 when requesting h
ttps://www.googleapis.com/upload/groups/v1/groups/old-cr-archive%40googlegroups.com/archive?uploadType=media&alt=json returned "Backend Error">

Here's the message it generates:

From nobody Fri Mar 25 11:38:23 2016
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Message-ID: <[email protected]>
Subject: Groups Migration API Test (Python)
From: "Skip Montanaro" <[email protected]>
To: [email protected]
Date: Fri, 25 Mar 2016 11:38:23 -0500

This is a test.

I'm stumped. Any clues about what I might be doing wrong? The only changes I've made to the script are to print information and to hard-code the email address so I didn't need to type it every time. Everything else is unchanged from the code on the above web page.

Thx,

Skip

0

There are 0 best solutions below