Google API Picker getting 400 errors in console - when logging back to Google at logImpressions endpoint - google-api

We have the Google Picker working, but have noticed that the picker code seems to be trying to log events to Google, and is getting 400 errors when doing so.
Looks like Google library code trying to talk to Google infrastructure:
Just a problem with the Google infrastructure, or is there any way to stop this?

Found the problem - it was that third party cookies were disabled (in Incognito mode).

Related

Could not execute google form api on google developer documentation

I got the below popup when I tried to execute the google form api from google developer documentation.
I tried this same process with google docs api which work perfectly. I tried tp turn on less secure app access, but it seems google made it unavailable.
what is the other way out.
Thanks
This appears to be a bug with the try me on forms.
I have logged it on the issue form and im going to see if i can find someone at google to ping about it
Forms.get try me not working
I suspect however that this may have something to do with the app being in early access. That being said i would have expected a different error message if that was the issue.
It is most likely due to the permission for the client they are using. It is an internal error and not something you have done.
May i suggest creating your own app and testing it that way. Just remember this api is in early access so be sure that you fill out the form found on this page Google Forms API now available in open beta
Developers can apply to join our Early Adopter Program and begin developing using the Google Forms API by filling out this form.

How do I view error details in Google API Console?

This is probably the stupidest question, but I cannot find any answer in Google's own docs:
Question: Is there a way to view detailed error reports in Google's API console?
Details: I am using the Google Drive API to view and create files, and in the Google API console I can view metrics that show me error counts by API method, by response code, etc. But just knowing I have a bunch of "4xx" errors does not help me much, especially when the errors are sporadic. Is there any detailed logging available for the Google API that might help me see more specifically what went wrong when these errors popped up? It seems like this info should be somewhere (they bothered to make the nice plot showing when the errors occured, just no details on what the error was...) but I can't find how to access it.
Edit: To clarify, I am not asking how to log items myself, but how to access the existing logs generated by Google API Console.
Edit: My initial guess was to check the Google Logs Explorer, but everything in the Dashboard tab reports "No data is available for the selected time frame", and any queries I make appear to return empty.

Google Contacts API was turned off in our Developer Console mysteriously

Our application relies on the Google Contacts API. Access to the Google Contacts API was disabled in our Application on August 7th, 2017 at 6pm (Pacific). Graph:
We weren't notified by Google and I'm certain we haven't hit the quota. Our users let us know and we were able to re-enable it this morning successfully.
But we're trying to figure out how this happened. Has anyone else seen API access disabled without their knowledge... or can someone from Google help us track this down?
Thanks!
Yes, had the same issue today with one of our projects that is using Google Contacts API - found Contacts API disabled...
And that came with another quite annoying issue when we started to get "unusual traffic" web page content with the CAPTCHA thing instead of error, when trying to access Google Contacts API.
The detailed issue was registered by me here, you can take a look:
https://issuetracker.google.com/issues/64472602

How can I get alerts for my Google API usage?

This week my API stopped making requests to the Google API, see the usage graph below:
Is there a way I can setup alerts on the data that is reported to me in the above graph?
Alert me when usage is below a threshold?
Alert me when usage is above a threshold?
Alert me when we encounter an error of X type?
There is no API for the Google Developer console sadly the only thing that is close would be the Google Cloud Resource Manager API which doesn't give you the information you are looking for.
There is also no alert within the Google Developer console. That being said this is an awesome idea. In the upper right hand corer of the Google developer console there is a speech bubble with an i in it. Click on it and send feedback. Google does listen to feed back from developers lets request a notification feature.

Setting Billable Limits

From the Google API Console: When trying to change the Billable Limits for the project under the Quota page, I keep getting the error: Your input was invalid.
The error message is not very informative, doesn't specify which input was invalid or why it was invalid.
I've experimented with this in IE, Firefox, and Chrome. I've also turned off all other APIs except for Custom Search API (which I'd like to increase the limit for) without any luck.
Has anyone else encountered this problem? how can it be solved?
(response from a Google employee)
This can happen if a "restricted" API is enabled on the project. "Restricted" APIs can only be seen by specifically enabled users. For instance, the Google Maps Javascript API v2 has been marked "restricted" because it was retired in 2013, and no user should see this API anymore (and instead, use v3).
Work is underway to remove the Google Maps Javascript API v2 from all the existing projects. A systemic fix is being worked on (internal Google reference #12001333), but in the meantime, if you see this error, the best workaround is to use a different API project.

Resources