我在提出第一个请求后收到此错误:
超出配额指标“请求”和限制“每个请求”的配额 分钟“服务‘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);
}
再试一次,当我在项目中尝试 firebase init 函数时,我遇到了同样的问题。 过了一段时间我再次尝试,并没有出现问题 如果问题仍然存在,那么我认为@Linda Lawton 的答案是正确的选择......