Groups Migration API快速入门错误500

时间:2016-03-25 16:41:10

标签: python google-groups-migration

我正在尝试使用Groups Migration API。经过多次挫折之后,我相信我已经遇到过很长时间困扰我的身份验证问题。现在我一直试图让quickstart.py脚本的其余部分工作。我从这里得到了它:

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">

以下是它生成的消息:

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: <8025604423-old-cr-archive@googlegroups.com>
Subject: Groups Migration API Test (Python)
From: "Skip Montanaro" <skip.montanaro@gmail.com>
To: old-cr-archive@googlegroups.com
Date: Fri, 25 Mar 2016 11:38:23 -0500

This is a test.

我很难过。关于我可能做错的任何线索?我对脚本所做的唯一更改是打印信息并对电子邮件地址进行硬编码,因此我不需要每次都输入。其他所有内容与上述网页上的代码相同。

THX,

跳过

0 个答案:

没有答案