Hi Denis,
Thank you for your reply.
When I run the test, I get the error below:
Any thoughts?
Response:
Array
(
[code] => 403
[message] => Forbidden
)
Response Body:
{
"error": {
"code": 403,
"message": "Cloud Translation API has not been used in project 236099077847 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/translate.googleapis.com/overview?project=236099077847 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.",
"errors": [
{
"message": "Cloud Translation API has not been used in project 236099077847 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/translate.googleapis.com/overview?project=236099077847 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.",
"domain": "usageLimits",
"reason": "accessNotConfigured",
"extendedHelp": "https://console.developers.google.com"
}
],
"status": "PERMISSION_DENIED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.Help",
"links": [
{
"description": "Google developers console API activation",
"url": "https://console.developers.google.com/apis/api/translate.googleapis.com/overview?project=236099077847"
}
]
},
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "SERVICE_DISABLED",
"domain": "googleapis.com",
"metadata": {
"consumer": "projects/236099077847",
"service": "translate.googleapis.com"
}
}
]
}
}