I'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!