-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
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"
}
}
Expectation:
The script runs without errors.
Possible issue:
I'm not sure the datacatalog api is v2 as per
Line 125 in 9ed7c76
| url = f"https://datacatalog.googleapis.com/v2/{key}/entries/{entry_id}" |
Line 20 in 9ed7c76
| DATACATALOG_BASE_URL = "https://datacatalog.googleapis.com/v2" |
I'm only seeing v1 and v1beta in https://cloud.google.com/data-catalog/docs/reference/rest
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels