【问题标题】:Why are we getting "gd:extendedProperty count limit exceeded" error?为什么我们会收到“gd:extendedProperty count limit exceeded”错误?
【发布时间】: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


【解决方案1】:

在文档中,它提到,如果您使用瘦属性 No gd:extendedProperty 元素将被返回/更新。检查这个link

【讨论】:

  • 我不确定我是否理解答案。是的,我们专门使用该投影,这样我们就不必处​​理任何扩展属性。我们没有设置任何扩展属性,但我们的更新失败并显示明显引用扩展属性的消息:gd:extendedProperty count limit exceeded: 10
  • 这种情况在使用“薄”投影时不断发生。有人可以帮忙吗?
猜你喜欢
  • 2021-08-08
  • 1970-01-01
  • 1970-01-01
  • 2020-11-05
  • 2018-04-08
  • 2020-11-05
  • 2018-06-22
  • 2020-01-12
  • 2016-01-01
相关资源
最近更新 更多