I have created glossary to translate text using Cloud Translation API. it shows me status as running-
"name": "projects/xxx/locations/us-central1/operations/xxx",
"metadata": {
"@type": "type.googleapis.com/google.cloud.translation.v3.CreateGlossaryMetadata",
"name": "projects/xxx/locations/us-central1/glossaries/xxx",
"state": "RUNNING",
"submitTime": "2022-11-18T03:59:51.876209069Z"
}
}
but when I am trying to use this Glossary for translation api, it shows me error as-
"Glossary not found.; Failed to initialize a glossary".
Even when I tried listing my Glossary, it doesn't show.
Not sure what is the issue. Console activity dashboard shows activity as created Glossary.
Make sure that all permissions are appropriately established.
In order to make sure you see it, I would suggest listing your glossaries. If you don't, at least you are aware of the problem.
Furthermore, I don't believe that this is a permissions issue. Explicit permission errors ought to be returned if there is a permission problem.
I advise beginning with the create glossary sample and then attempting to access the same resource using the example code you're using in order to troubleshoot.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |