Google Calendar API: Calendar usage limit message occur and accessNotConfigured - android

403 Forbidden
{
"code": 403,
"errors": [
{
"domain": "usageLimits",
"message": "Access Not Configured. Please use Google Developers Console to activate the API for your project.",
"reason": "accessNotConfigured"
}
],
"message": "Access Not Configured. Please use Google Developers Console to activate the API for your project."
I have already activated the api for google calendar. What can I do with that? I have also set the key but I am still getting error.

If you are using eclipse to build the application directly, you need to use debug key SHA1 for credential. You can find that in preferences > android > build.

Related

Google API Key failed on google urlshortener api

I have got this error message when using Google urlshortener api by ApiKey:
(I have using same API Key for showing Google Map in same app without any problem)
Where I did wrong?
com.google.api.client.googleapis.json.GoogleJsonResponseException: 403
Forbidden
"code": 403,
"errors": [
{
"domain": "usageLimits",
"message": "The Android package name and signing-certificate
fingerprint, null and null, do not match the app restrictions
configured on your API key. Please use the API Console to update your
key restrictions.",
"reason": "ipRefererBlocked",
"extendedHelp":
"https://console.developers.google.com/apis/credentials?project=xxxx"
}
],> "message": "The Android package name and signing-certificate
fingerprint, null and null, do not match the app restrictions
configured on your API key. Please use the API Console to update your
key restrictions."*
You have to use the Browser key, not the android key.

Google calendar API not working in signed apk

I integrate Google Calendar api properly and also works fine in unsigned apk.
But while i signed my app and try to access google calendar at that time api return below error.
Error com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden
{
"code" : 403,
"errors" : [ {
"domain" : "usageLimits",
"message" : "Access Not Configured. The API (Calendar API) is not enabled for your project. Please use the Google Developers Console to update your configuration.",
"reason" : "accessNotConfigured",
"extendedHelp" : "https://console.developers.google.com"
} ],
"message" : "Access Not Configured. The API (Calendar API) is not enabled for your project. Please use the Google Developers Console to update your configuration."
}
I also enabled Google Calendar api, CalDAV api.
So, I face this only in signed apk. unsigned is work perfect.
So, any one have idea that how i can resolve this issue?

Google custom search on Android failed with error 403

Google Custom Search is returning this 403 error from my app. This is the response when run from my phone:
{
"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."
}
}
The solution for the iOS version is given here:
Google Custom Search: 403 error in iOS
Thanks for any thoughts on what's wrong!

Google Calendar API v3: Access Not Configured. The API (Calendar API) is not enabled for your project

I download the calendar-android-sample under https://github.com/google/google-api-java-client-samples, and make no change of the source code,and follow the develop console help to create the client ID for android,But when i run the calendar-android-sample application, i got error:
W/System.err(32741):
com.google.api.client.googleapis.json.GoogleJsonResponseException: 403
Forbidden
W/System.err(32741): "code": 403,
W/System.err(32741): "errors": [
W/System.err(32741): {
W/System.err(32741): "domain": "usageLimits",
W/System.err(32741): "message": "Access Not Configured. The API
(Calendar API) is not enabled for your project. Please use the Google
Developers Console to update your configuration.",
W/System.err(32741): "reason": "accessNotConfigured",
W/System.err(32741): "extendedHelp":
"https://console.developers.google.com"
W/System.err(32741): }
W/System.err(32741): ],
W/System.err(32741): "message": "Access Not Configured. The API
(Calendar API) is not enabled for your project. Please use the Google
Developers Console to update your configuration."
W/System.err(32741): }
I already enabled the Calendar API but still get this error,anyone know what's wrong?
As I read the documentation for google calender api through the below url.
https://developers.google.com/google-apps/calendar/quickstart/android
But as I find the problem with the documentation that they have not added two user permission to fetch data from the calender api.
<uses-permission android:name="android.permission.READ_CALENDAR" />
<uses-permission android:name="android.permission.WRITE_CALENDAR" />
I have add these above permission in my case then its work fine. Hopefully its work for you as well.
Check the following link for step-by-step instructions for using Google Calendar API for Android:
https://developers.google.com/google-apps/calendar/quickstart/android

youTube Api key throwing error on execution

Hi dears i am working on youtube api/v3. I created an Api key(not browser key). I am enabling all necessary API's on my account.But i am experiencing this error i am posting here.
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "ipRefererBlocked",
"message": "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 API key configuration if request from this IP or referer should be allowed.",
"extendedHelp": "https://console.developers.google.com"
}
],
"code": 403,
"message": "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 API key configuration if request from this IP or referer should be allowed."
}
this is my query URL url
any help regarding my question will be much appreciated.Thanks in advance
In the Google Developers Console > API Manager > Credentials. Check the section Accept requests from these HTTP referrers (web sites).

Categories

Resources