从 Group Migration API 的 Insert 方法 (https://developers.google.com/google-apps/groups-migration/v1/reference/archive/insert) 获取以下 503 响应。
我只是在尝试使用示例有效负载来解决峰值问题——尽管如果我摆弄 POST,我会得到 401 或 404 错误;无法创建 400 错误。有其他人成功使用此 API 吗?服务是否存在临时服务问题?
谢谢!克里斯
要求:
POST https://www.googleapis.com/upload/groups/v1/groups/testmaspa@googlegroups.com/archive? uploadType=media HTTP/1.1
Content-Type: message/rfc822
Authorization: Bearer blah...
Host: www.googleapis.com
Content-Length: 470
Expect: 100-continue
Received: by 10.143.160.15 with HTTP; Mon, 16 Jul 2007 10:12:26 -0700 (PDT)
Message-ID: NNNN@mail.samplegroup.com
Date: Mon, 16 Jul 2007 10:12:26 -0700
From: "chris@mnaspa.org"
To: "chris@mnaspa.org"
Subject: TEST SUBJECT
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Delivered-To: testmaspa@googlegroups.com
This is the body of the migrated email message. Booyah!
回复:
HTTP/1.1 503 Service Unavailable
Server: HTTP Upload Server Built on Dec 3 2012 11:16:02 (1354562162)
Content-Type: application/json
Date: Sat, 08 Dec 2012 00:36:53 GMT
Pragma: no-cache
Expires: Fri, 01 Jan 1990 00:00:00 GMT
Cache-Control: no-cache, no-store, must-revalidate
Content-Length: 177
{
"error": {
"errors": [
{
"domain": "global",
"reason": "backendError",
"message": "Backend Error"
}
],
"code": 503,
"message": "Backend Error"
}