Google Analytics Report Stops Working on drupal - drupal

I am using this module for some time and it worked fine. But suddenly it stops fetching analytics data. When I saw the report, it was showing message as
Code: 403 - Error: Forbidden - Message: usageLimitsuserRateLimitExceededUnregUser Rate Limit Exceeded. Please sign uphttps://code.google.com/apis/console
Please help me

This error message indicates that your application is not registered to use the google analytics api and so you were only having a low grace quota meant for testing and you have exceeded that. Check the official documentation to know about this error message and how to enable the api in the console.

Related

Google Analytics API Quota Increase failed

I recently applied to have the limit the Google Analytics API increased. This was approved and I received an email saying it was completed. When I went to check the increase it still showed the original value. I navigated across from the Developer Console to the GCP console and saw a message saying that Quota cannot not be increased when still using the Free Credits. So I changed the account to a paid one, hoping that the increase would then show. But alas, I am still stuck with the lower quota. Is there anything I can do?
This was resolved internally with Google

google cloud vision API error "Deadline expired before operation could complete."

I got the cloud vision API working, and I was having lots of fun tagging my images. I've only tested it on about 50 images. It was working yesterday. When I tried again today, I got an error. For the label annotation, the error is:
"Resource has been exhausted (e.g. check quota)."
For face detection, the error is:
"Deadline expired before operation could complete."
I don't think I have gone over the 1,000 monthly limit, but I can't figure out how to check. Does anyone know?
Or, does anyone have any ideas about why this would have happened if I am indeed below the 1,000 request limit (which I am pretty sure I am!)
Thanks for any help!
For future reference, you can check your quote using the API Manager in the Cloud Console.
On the left-nav, jump to API Manager Dashboard, then search for the Vision API.
The Vision API dashboard will have a "Quotas" tab that shows you how many requests have been made, etc.
You can also look at the Quotas page in the IAM & Admin section of the console, and filter by Service ("Google Cloud Vision API"):

Google Analytics "daily Limit Exceeded Quota error" & register application properly with gapi.class.php

I used gapi.class.php and have another analytics-dash.php template which I'm calling as an include on a page template in WP. This shows a chart and stats of analytics on the front end of WP to my admin and authors. This template is connected to my site's GA profile ID and all is well, it works and shows the stats. However, the first night after implementation we received the error "GDatadailyLimitExceededQuota" on the site. I have since removed the include script from my page template so the error will not show.
These are the steps I took to try and fix the problem:
I researched into the error "dailyLimitExceededQuota", which I researched and Google's API states the following:
"If quota is exceeded, Google Analytics API returns an error for additional requests:
HTTP status code 403 Forbidden and a message indicating that the specific account has insufficient quota to proceed...
50,000 requests per project per day
10 queries per second (QPS) per IP.
To get full quota, you must register your application in the Google Developers Console. When you register a new application, you are given a unique client ID to identify each application under that project."
Then I realized I needed to register with Google's Developer Console as the quota limit is very low for testing without registering.
I registered the application and turned on the Analytics API in the console. I'm not sure what else I am to do after registering the application.
I followed the instructions to increase the quota (Configuration and Reporting API Limits and Quotas)
by using this form:
Analytics API quota request
I went through the steps on the form to make sure I am setting this up correctly. On that form, it states the following:
"Quotas that CAN be increased:
Per project daily limit of 50,000 requests/day.
Per project daily limit of 500 uploads/day.
Quotas that CANNOT be increased:
Per profile (user) limit of 10,000 requests/day [403 Error with Message about Profile limit: dailyLimitExceeded]
Per profile (user) limit of 10 concurrent requests per profile [403 Error: quotaExceeded]
Per IP limits of 10 queries/second (QPS) [403 Error: userRateLimitExceeded]"
... proceed to check that we "Verify that the quota you are asking for can be increased. See the list above."
This is referring to the quotas that can and cannot be increased (above). Since we received error "dailyLimitExceed", and this is associated with "per profile (user) limit of 10,000 requests/day" - this is under the list that CANNOT be increased. However this was before registering the application with Google's Developer Console so I'm thinking now, since I registered it as an application/project, it can be considered to have a daily limit of 50,000 requests/day. Then if I enable it again on our website, I'm thinking the error would not show, however this I am unsure because I'm not sure if I setup the registration fully. Could it be that simple to register an application?
The next step on the form states:
"(4) Verify your API requests are properly registered with a Developers Console Project. Check the Reports Developers Console. If total requests in the traffic report is 0 then your API requests are not registered to your project ID and you are not currently getting your full quota."
However, it is going to show 0 currently because I removed the include script from our website! So I'm thinking the only way to test against this (#4 on form) is to put the script back in. Then if the error shows, that could mean that either it is not communicating with the registered application I just created, or it simply exceeds the limit. Therefore I would need to fill out this form, which I did, to ask for a quote increase. However, I'm hesitant to put the script back in to display the analytics chart until I hear back from Google (not sure how long it takes for them to respond to the increase quota request) because I don't want another dailyLimitExceeded error to be thrown and show on the front end.
Any thoughts? Thank you very much for your consideration in helping.

userRateLimitExceededUnreg for Google Anlalytics?

I am using Google Analytics API with the authentication method of Authsub. Recently we found most our customer faced userRateLimitExceededUnreg error.
The full error message was
{"error":{"errors":[{"domain":"usageLimits","reason":"userRateLimitExceededUnreg","message":"User Rate Limit Exceeded. Please sign up","extendedHelp":"https://code.google.com/apis/console"}],"code":403,"message":"User Rate Limit Exceeded. Please sign up"}}
Don't know where to signup and how to increase the limit. Can anyone faced this kind of error ?

Our application cannot access anymore to customersdata through Google apps Marketplace

Our Marketplace application ID is 691703567391.
https://www.google.com/enterprise/marketplace/viewListing?productListingId=3198+1842896415262219465
Since 4-5 days, the application cannot access any customer data from the marketplace by using provisionning API and group provisionning APIs.
(apps-apis.google.com/a/feeds/group/#readonly and apps-apis.google.com/a/feeds/user/#readonly)
Whatever request our application is making, the response is always :
Error
401(Client Error)!!1
401.
That's an error.
There was an error in your request.
That's all we know.
For instance we did the GET request on the following URL : https://www.google.com/m8/feeds/contacts/default/full?xoauth_requestor_id=stef#gappsexperts.com and reponse was error 401.
After checking in cloud.google.com console, it appears that the Oauth1 reigtsred app has completely disappeared from our Cloud console (see screenshot)
Now only the Oauth2 app is available. I AM SURE THIS IS THE CAUSE OF THE PROBLEM.
Now here are the abnormal behaviours :
1/ We are getting errors for any request we make on user or group provisionning
2/ Oauth 1 registered app is not in the cloud.google.com console anymorre for this listing.
3/ WE CANNOT UNPUBLISH the listing in Google Apps Marketplace.
help us !
Is it possible you tried to create an OAuth 2 client ID in the same Developer Console project as your original Apps Marketplace developer console project?
I believe that might be a cause of this issue.
Your screenshot didn't come through in the post.

Resources