too_many_recent_calls, too_many_entries
日期:2012-02-16 阅读:12 分类:综合信息
Quota errors
A quota error, which is identified by a <domain> tag value of yt:quota, identifies a problem related to irregular API usage.
For quota errors, the <code> tag will contain one of the following values:
1. too_many_recent_calls - This code indicates that the API servers have received too many calls from the same caller in a short amount of time. This error will not specify a location. The API response will not include a <location> tag for this type of error.
<?xml version='1.0' encoding='UTF-8'?>
<errors>
<error>
<domain>yt:quota</domain>
<code>too_many_recent_calls</code>
</error>
</errors>
If you receive this error, then your application has exceeded our current limits on API calls. We recommend that you wait a few minutes and then try your request again.
2. too_many_entries - This code indicates that the user is attempting to exceed a storage limit on his account and must delete existing entries before inserting new entries. For this type of error, the <location> tag identifies the feed that caused the error.
<?xml version='1.0' encoding='UTF-8'?>
<errors>
<error>
<domain>yt:quota</domain>
<code>too_many_entries</code>
<location type='other'>https://gdata.youtube.com/feeds/users/username/uploads</location>
</error>
</errors>
from: code.google.com
A quota error, which is identified by a <domain> tag value of yt:quota, identifies a problem related to irregular API usage.
For quota errors, the <code> tag will contain one of the following values:
1. too_many_recent_calls - This code indicates that the API servers have received too many calls from the same caller in a short amount of time. This error will not specify a location. The API response will not include a <location> tag for this type of error.
<?xml version='1.0' encoding='UTF-8'?>
<errors>
<error>
<domain>yt:quota</domain>
<code>too_many_recent_calls</code>
</error>
</errors>
If you receive this error, then your application has exceeded our current limits on API calls. We recommend that you wait a few minutes and then try your request again.
2. too_many_entries - This code indicates that the user is attempting to exceed a storage limit on his account and must delete existing entries before inserting new entries. For this type of error, the <location> tag identifies the feed that caused the error.
<?xml version='1.0' encoding='UTF-8'?>
<errors>
<error>
<domain>yt:quota</domain>
<code>too_many_entries</code>
<location type='other'>https://gdata.youtube.com/feeds/users/username/uploads</location>
</error>
</errors>
from: code.google.com
本页链接: http://www.scriptlover.com/static/1579-api-google-youtube
相关文章
- Facebook API:获取Access Token 2011-11-30
- Canto.js,对HTML5 Canvas API的改进 2010-08-02
- HTML5 Geolocation API 2011-07-09
- List of Error Codes for Facebook API 2011-11-02
- HTML5 Notifications api 桌面提醒接口 2011-11-29
- 修改谷歌浏览器Chrome的临时文件保存地址 2011-10-26
- 10多个用于操作Google Map的JavaScript资源 2011-08-24
- google员工的幸福生活 2008-09-09
- 最近在google和baidu关键字情况 2008-12-04
- google adsense 2008-12-09
- 十大成功数字媒体并购案:谷歌收购YouTube居首 2011-10-17