【发布时间】:2015-06-29 15:54:20
【问题描述】:
我们正在尝试使用 {thin} 供稿投影更新一些 Google 联系人
PUT https://www.google.com/m8/feeds/contacts/{user}/thin/{id}
但我们从 Google 联系人 API 收到以下错误:
<errors xmlns="http://schemas.google.com/g/2005">
<error>
<domain>GData</domain>
<code>invalid</code>
<internalReason>gd:extendedProperty count limit exceeded: 10</internalReason>
</error>
</errors>
使用 {thin} 提要投影时,甚至不会加载或操作扩展属性,根据 API 参考:“thin - 没有返回/更新 gd:extendedProperty 元素”。
这看起来像 API 错误。
@SGC,答案似乎不相关。我们使用 {thin} 项目来避免加载/更新任何扩展属性。为什么 API 会这样抱怨?
@Google 有人可以帮助解决这个问题吗?
【问题讨论】:
-
在文档中,它提到,如果您使用瘦属性,则不会返回/更新 gd:extendedProperty 元素。检查此链接developers.google.com/google-apps/contacts/v3/reference
-
这听起来确实像一个错误,但如果有更多关于何时发生此错误的信息会很棒。例如,是否所有联系人更新都会生成仅选择的错误?产生此错误的联系人是否定义了超过 10 个扩展属性?
-
不知道这个问题最后解决了吗?上次在我们的日志中看到此错误是在 9 月底。这肯定只发生在用户拥有的众多联系人中。
标签: google-api google-api-java-client google-contacts-api