超出了服务 'mybusinessaccountmanagement.googleapis.com' 的配额指标 'Requests' 和限制 'Requests per minute' 的配额

Quota exceeded for quota metric 'Requests' and limit 'Requests per minute' of service 'mybusinessaccountmanagement.googleapis.com'

我在发出第一个请求后收到此错误:

Quota exceeded for quota metric 'Requests' and limit 'Requests per minute' of service 'mybusinessaccountmanagement.googleapis.com'

第一次请求后如何超过我的配额?

if(File.Exists(ApplicationVariables.CertPath)) { 
                    GoogleCredential credential;
                    using (var stream = new FileStream(ApplicationVariables.CertPath, FileMode.Open, FileAccess.Read))
                    {
                        credential = GoogleCredential.FromStream(stream).CreateScoped("https://www.googleapis.com/auth/business.manage");
                    }

                    // Create the service.
                    var service = new MyBusinessAccountManagementService(new BaseClientService.Initializer()
                        {
                            HttpClientInitializer = credential,
                            ApplicationName = "Google Reviews Downloader",
                        });

                    //var bookshelves = await service.Mylibrary.Bookshelves.List().ExecuteAsync();
                    var accounts = await service.Accounts.List().ExecuteAsync();

                    Console.WriteLine("accounts:" + accounts);

                }

这完全取决于您当前有多少配额。

当您在 Google 开发者控制台中启用 My Business Account Management API 时。默认配额为 0

我建议您尝试添加额外的配额。

您将不得不单击配额页面 link 并在那里挖掘一段时间,直到您弄清楚如何增加配额,他们最近更改了它,您可能必须申请配额我不是确定这个 api.

我已经尝试过,但我对如何申请配额或增加配额一无所知。我想知道这是否是您需要特殊权限才能访问的 API 之一。我不确定你是如何获得该许可的,但我会做一些挖掘工作。