Google People API. OthersContact endpoint internal error - google-apis-explorer

We are having the following error when using Google People API for OtherContacts.
error:
{
"error": {
"code": 500,
"message": "Internal error encountered.",
"status": "INTERNAL"
}
}
How to reproduce:
Google Endpoint for test purpose
There is a google "Support" link that asks to create a question in stackoverflow, so here you are.
Is this "Internal Error" something that google needs to fix or am I doing something wrong?
Google API Test

Related

Google Drive sdk Standard error code Documentation

We are using google drive APIs in our android application. We want to show particular error scenarios of the google drive api in our own custom messages.
For example: When the user exceeds the storage rate limit the SDK throws an exception where the exception content has the JSON HTTP response error like below.
{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "dailyLimitExceeded",
"message": "Daily Limit Exceeded"
}
],
"code": 403,
"message": "Daily Limit Exceeded"
}
}
I have a generic exception handler which handles all exceptions with 403 error code. But we want to handle the "dailyLimitExceeded" scenario which we can identify by inspecting the "reason" field in error response. We are referring this documentation but we cannot find any exhaustive list of all error scenarios along with error code/reason.
Is there any documentation available which lists all error code/reason of google drive API ?

Tenant blacklisted while executing Google Explorer API

I get the following error when trying to execute an API from Google API Explorer. I was using the default credentials of the Explorer.
I tried a few times to make the request go through and finally I got a blacklisted message.
What is the way forward from here?
Appreciate any help.
403
Show headers
{
"error": {
"code": 403,
"message": "Tenant user#gmail.com is blacklisted.. Request ID for tracking: 14d4de455-5c77-4297-a771-752738685d1e:APAb7IRHRzYs3c4r45M8rrJfdrKo3vStDQ==",
"status": "PERMISSION_DENIED"
}
}

Google Custom Search Engine Error Code 403 : Access Not Configured

I am trying to use Google Custom Search API
I followed Custom Search doc, i am done with the Control panel stuff and got the Search Engine ID as well, IMplemented API and got the API key from the developer console
Public API Access Key - AIzaSyC0m8w-NEP3yrKolboNbPLbhlhmHJc_cB0
Search Engine ID - 005717290701474541337:1mc_u_r_i94
https://www.googleapis.com/customsearch/v1?&key=AIzaSyC0m8w-NEP3yrKolboNbPLbhlhmHJc_cB0&cx=005717290701474541337:1mc_u_r_i94&q=paris
and after making the above request , i got this result
{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "accessNotConfigured",
"message": "Access Not Configured. The API is not enabled for your project, or there is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your configuration.",
"extendedHelp": "https://console.developers.google.com"
}
],
"code": 403,
"message": "Access Not Configured. The API is not enabled for your project, or there is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your configuration."
}
}
I am not getting the expected results, so please help..
Thanks
Everything seems to be ok, it might be an API key Issue.
Try to create an API key for browser it might work

Google maps APIs for Business returning error code 403 reason accessNotConfigured

I am using Google Maps APIs for business to get location against Cell IDs and MAC addresses of WiFi access point.
That code was working fine on beta server. Now as I moved to production server, I am getting following response
{ "error": { "errors": [ { "domain": "usageLimits", "reason": "accessNotConfigured", "message": "Access Not Configured. Please use Google Developers Console to activate the API for your project." } ], "code": 403, "message": "Access Not Configured. Please use Google Developers Console to activate the API for your project." } }
In console, Beta server IP was added in allowed IPs. I have added production server IP as well. Still getting above response.
Do I need to generate new key after change in allowed IPs or any other change?
The message is self-explaining activate the API for your project
Go to the console, select the desired project(when you have multiple projects), go to APIs & auth ->API's and activate the service Google Maps Geolocation API

Google Drive API 403 Forbidden

We are using the Google drive API to allow our users to browse and select a file to use in a report. One of our users (the issue is not widespread) is getting an error(below) when attempting to get a list of files.
JSON body returned from Google:
{
"error": {
"errors": [
{
"domain": "global",
"reason": "forbidden",
"message": "Forbidden"
}
],
"code": 403,
"message": "Forbidden"
}
}
Which is a bit confusing as it is not one of the listed errors here: https://developers.google.com/drive/web/handle-errors
Does anyone have any ideas on what might be causing this? Thanks for any insight!
It turned out to be related to this question: Getting a 403 - Forbidden for Google Service Account
This user's company did not have Google Drive as one of their activated apps.
This error also occurs if you disable the Google Drive setting called "Allow users to install Google Drive apps". This might be a good thing to check if you are certain that Google Drive is already enabled.