1
votes

I am using google translate API for the translation. In the translation, if any exception occurs, it throws TranslateException with a message.I have added logs in my code which are:

com.google.cloud.translate.TranslateException: Daily Limit Exceeded
com.google.cloud.translate.TranslateException: User Rate Limit Exceeded

and text too long when char limit exceeds 5000 characters in a single request.

I searched in google API docs for TranslateException but didn't find.I want a list of all messages like User Rate Limit Exceeded, Daily Limit Exceeded etc.

1

1 Answers

2
votes

You can see this in log: Daily Limit Exceeded. It should because you exceed the times that Google API give you for free. Try to use another account or add your billing information in it.