Question

I am trying to do a simple translation using Google Translate in my iOS app but as i call the url, i am getting the following error in 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."
 }
}

I couldn't find anything close to any solution of this issue.. Please can anyone help here. thanks in advance…

Was it helpful?

Solution

Well after some detailed searching and RnD, i found out that Google Translate API doesn't work with Bundle Identifier in iOS.. People have filed it as a bug on google forums.. So anyone trying hard to solve this can stop the efforts till it is solved..

OTHER TIPS

You need to set ON for the Google Translate API.

Read 3rd step of setup of Getting Started link.

In the sidebar on the left, select APIs & auth. In the list of APIs, make sure the status is ON for the Google Translate API.

And make sure have to enable billing?

Important: Google Translate API v2 requires billing information for all accounts before you can start using the service.

And also have to set API key in proper way?

Since bundle id is optional for Key. So you can escape adding bundle id and enable the billing on. It will work. Try and let me know.

This error comes when you hadn't add the Credit card detail with your Google Cloud account, as rules has changed in which you need to add credit card details if you use Google translate api.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top