[EXCONTRANS-403] Check connection fail to CTSX Google Translator Created: 02/Oct/23 Updated: 10/Oct/23 |
|
| Status: | In Progress |
| Project: | Content Translation Extended (CTX) |
| Component/s: | Google Translator |
| Affects Version/s: | 3.4.7 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | HaiQuang Bui | Assignee: | Teresa Miyar |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 1h | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Template: | |
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Date of First Response: |
| Description |
| Comments |
| Comment by Teresa Miyar [ 02/Oct/23 ] |
|
Hi, The error you get: NoClassDefFoundError: Lcom/google/cloud/translate/Translate suggests you are missing a dependency, I will update the documentation to reflect this:
<dependency> <groupId>com.google.cloud</groupId> <artifactId>google-cloud-translate</artifactId> <version>1.22.0</version> </dependency>
|
| Comment by HaiQuang Bui [ 02/Oct/23 ] |
|
Hi, |
| Comment by Teresa Miyar [ 02/Oct/23 ] |
|
Hi, Sorry, I put the wrong version, it should be: |
| Comment by HaiQuang Bui [ 09/Oct/23 ] |
|
Hi Teresa Miyar. We had change version to 2.22.0 but show error when check connection
|
| Comment by Yen Lac Tue [ 09/Oct/23 ] |
|
Hi haibq , Could you please give me detail error log for this case? Caused by: com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden GET https://translation.googleapis.com/language/translate/v2?key=AIzaSyBHhumzRDD5hP0hmW-50GzU75SwZIlfWx0&q=%3Cp%3Etranslate%20elected%20element%26nbsp;%3C/p%3E%0A%0A%3Cp%3Etext%20and%20image%3C/p%3E%0A%0A%3Cp%3Eadmin%20security%3C/p%3E%0A&source=en&target=de { "code" : 403, "errors" : [ { "domain" : "usageLimits", "message" : "User Rate Limit Exceeded", "reason" : "userRateLimitExceeded" } ], "message" : "User Rate Limit Exceeded" } Thanks! |