1

我正在尝试开始使用 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.

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

谢谢,

跳过

4

0 回答 0