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

2

13

I get this error after making my first request:

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

How can I be over my quota after my first request?

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);

                }
Vesical answered 24/3, 2021 at 17:1 Comment(3)
whoever voted this down and to close...why? this is a legitimate question. I see other similar threads on SO, but I don't see any matching my situation exactly.Vesical
People like to downvote and close questions that they don't understand. I agree your question is legitimate.Zaffer
@Vesical were you able to resolve using the Quota request form?Jayjaycee
Z
8

That would depend entirely on how much quota you have currently.

When you enable the My Business Account Management API in Google developer console. THe default quota is 0

enter image description here

I would suggest that you try and add additional quota.

enter image description here

Your going to have to click the quota page link and dig around in there a while until you figure out how to increase the quota, they changed it recently, you may have to apply for quota im not sure with this api.

I have tried and im not any wiser as to how to request quota or increase the quota. I wonder if this is one of the APIs that you need special permission to access. How you get that permission im not sure but im going to do a bit of digging.

Zaffer answered 24/3, 2021 at 17:48 Comment(4)
Great thought @DalmTo, I just checked that and when you attempt to click the pencil it says "This limit may not be edited".Vesical
yeah click the link at the top of the page.Zaffer
Found it! docs.google.com/forms/d/e/…Zaffer
There's a link to the form to request quota here developers.google.com/my-business/reference/restZaffer
O
0

Try once again, the same issue popped for me when I tried firebase init functions in my project. After a while I tried once again, and issue didn't appear If the issue still persists, then I think @Linda Lawton's answer is the way to go ...

Overflight answered 25/7, 2024 at 7:18 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.