Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Translate API always returning 'Daily Limit Exceeded'

I'm trying to get the google translate API up and running. On the getting started guide, it gives the following example: https://www.googleapis.com/language/translate/v2/detect?key={MyAppId}&q=google+translate+is+fast

I just want to get this working for now, so I'm just trying to get it working view via a browser post, so I created a testing web application (screenshot):

Settings

and grabbed the API key, replaced the sample URL's key with my API key. I get the following response:

{
 "error": {
  "errors": [
   {
    "domain": "usageLimits",
    "reason": "dailyLimitExceeded",
    "message": "Daily Limit Exceeded"
   }
  ],
  "code": 403,
  "message": "Daily Limit Exceeded"
 }
}

I should also note, that I have signed my account up with the billing option (I plan on using the service quite a bit), so I should have no issues at the moment.

I'm obviously doing something wrong, but I don't know what. Any suggestions?

like image 878
1969877 Avatar asked Nov 18 '13 13:11

1969877


People also ask

How do I increase Google Translate limit?

In the sidebar on the left, select APIs & auth, then select APIs and select Translate API. On the API's info page, select the Quota link near the API name. Click the Set per-user limits... button to increase your limits.

Does Google Translate have limits?

Google Translate Now Has A 5,000 Character Limit.

Can I use Google Translate API for free?

The Google Translate API is not free. Its pricing is based off monthly usage in terms of millions of characters. It costs $20 per 1 million characters for translation or language detection. Price is per character sent to the API for processing, including whitespace characters.

Is Google Translate being discontinued?

You may have received a notice from Google (pictured below) that its very popular Google Translator Toolkit has been discontinued, effective December 4th, 2019.


2 Answers

For getting data translated you have to enable billing and have to register your credit/debit card.After you register your card 1$ will be deducted and then you will be able to use your URL

I did it recently and it worked fine.

I am also working on translating project nowadays.

Let me know if you need any kind of help on this topic

Ishan

like image 83
Ishan Arora Avatar answered Sep 24 '22 06:09

Ishan Arora


I would first confirm that the Translate API is enabled under the "APIs" link in the Cloud Console - if it is not enabled, that effectively sets the quota to zero and may produce a similar message.

If the API is enabled, then the following link describes how to check the usage limits for your project: https://developers.google.com/translate/v2/pricing

like image 33
aeijdenberg Avatar answered Sep 22 '22 06:09

aeijdenberg