Google Sites 403 Forbidden:存储配额不足 [英] Google Sites 403 Forbidden: Insufficient storage quota
问题描述
它的工作原理非常好,直到我我测试了一段时间,并在相对较短的时间内创建并删除了几个站点:我最终得到了 403 Forbidden:Insufficient storage quota
响应。它通常会在一两天后修复,但这不是我第一次遇到这个问题,所以我认为我应该分享它,看看是否有其他人遇到过这种情况。
我已阅读 https: //support.google.com/sites/answer/96770?hl=zh_CN ,但似乎我没有达到任何配额。创建的网站是空白模板,因此无法到达网站配额。它们位于 https://sites.google.com/a/ 域名下。
为了确保它不是配置问题,我测试了OAuth 2.0 Playground中的原始请求,可以在 https://developers.google.com/oauthplayground/ ,导致相同的错误响应。
重现步骤:
- 我在同一个Google协作平台网域中创建了多个网站
- 由于403 Forbidden - 存储配额不足错误,我最终无法创建更多网站。
- 即使删除多个网站,问题仍然存在
因为我写的代码很长并且没有真正相关,所以我为感兴趣的人制作了一个GitHub代码片段:
https://gist.github.com/Cyanized/8ef24ff1de6454fd4ccd6466d591a53d
有没有我忽略的东西,或者它是一个已知的东西问题/错误?
非常感谢您!
解决方案I联系了Google Apps支持,他们已将我的文章与答案关联起来。
一周内您可以在一个帐户上创建的网站的最大数量为5个。你越过这个数量,你会得到我提到的错误。当一周结束后,您可以再次创建更多网站。
这是一个全局限制,目前无法更改。
>
参考:
https ://support.google.com/sites/answer/117477?hl = zh_CNI'm developing an application in which I've wrote a function (.NET) to create a Google Site.
It works perfectly fine, up until I'm testing for a while and have created and deleted several sites in a relatively short time span: I eventually end up with the
403 Forbidden: Insufficient storage quota
response. It's usually fixed after a day or 2, but it's not the first time I've encountered this issue, so I thought I should share it and see if anyone else has encountered the same thing.I've read the article about Google Sites storage quota at https://support.google.com/sites/answer/96770?hl=en, but it doesn't seem like I've hit any of the quota. The sites that are created are empty templates, so the site quota can't be reached. They're located under a https://sites.google.com/a/ domain.
To make sure it isn't a configuration issue, I've tested the raw requests in the OAuth 2.0 Playground which can be found on https://developers.google.com/oauthplayground/, resulting in the same error response.
Steps to reproduce:
- I've created multiple sites under the same Google Sites domain
- I'm eventually unable to make more sites due to the "403 Forbidden - Insufficient storage quota" error
- Even after deleting multiple sites, the issue still persists
Because the code I've written is quite long and not really relevant, I've made a GitHub snippet for the ones who are interested: https://gist.github.com/Cyanized/8ef24ff1de6454fd4ccd6466d591a53d
Is there something I'm overlooking, or is it a known issue/bug?
Many thanks in advance!
解决方案I contacted Google Apps Support, and they've linked me an article with the answer.
The maximum amount of sites you can create on an account in a week is 5. If you go over that amount, you will get the error I mentioned. When the week is over, you're able to create more sites again.
This is a global restriction and can't be changed at the current time.
Reference: https://support.google.com/sites/answer/117477?hl=en
这篇关于Google Sites 403 Forbidden:存储配额不足的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!