Skip to content

business_glossary_export_v2.py usage as documented in https://cloud.google.com/dataplex/docs/migrate-glossaries fails #89

@evarghese

Description

@evarghese

I am attempting to follow the directions in the migration document. While attempting to run the script as per these instructions. I get the following error:

15:57:26 : INFO : Debug logging to logs.txt is enabled.
15:57:28 : INFO : Fetching entries in the Glossary...
15:57:28 : ERROR : Can't proceed with export. Details: Method not found.
15:57:28 : ERROR : Can't proceed with export. Details: Method not found.

Output in the debug file:

2025-08-21 15:35:47,780 - glossary_tool - INFO - setup_file_logging - Debug logging to logs.txt is enabled.
2025-08-21 15:35:49,296 - glossary_tool - INFO - main - Fetching entries in the Glossary...
2025-08-21 15:35:49,297 - glossary_tool - DEBUG - fetch_api_response - [GET https://datacatalog.googleapis.com/v2/projects/970473524684/locations/global/entryGroups/dc_glossary_plos_business_glossarypgglqui/entries?view=FULL&pageSize=1000] Initiating call with project_id: plos-data and request_body: None
2025-08-21 15:35:49,404 - glossary_tool - DEBUG - fetch_api_response - [GET https://datacatalog.googleapis.com/v2/projects/970473524684/locations/global/entryGroups/dc_glossary_plos_business_glossarypgglqui/entries?view=FULL&pageSize=1000] Response status: 404, Response text: {
  "error": {
    "code": 404,
    "message": "Method not found.",
    "status": "NOT_FOUND"
  }
}

logs_20250821_155726.txt

Expectation:
The script runs without errors.

Possible issue:
I'm not sure the datacatalog api is v2 as per

and

I'm only seeing v1 and v1beta in https://cloud.google.com/data-catalog/docs/reference/rest

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions