Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metabase Ingestion Error Handling required #3035

Closed
ulixius9 opened this issue Mar 1, 2022 · 0 comments · Fixed by #3036
Closed

Metabase Ingestion Error Handling required #3035

ulixius9 opened this issue Mar 1, 2022 · 0 comments · Fixed by #3036
Assignees

Comments

@ulixius9
Copy link
Member

ulixius9 commented Mar 1, 2022

Describe the bug
Getting following error while ingesting metabase

Traceback (most recent call last):
  File "/Users/mayursingal/Desktop/ulixius1/OpenMetadata/venv/lib/python3.8/site-packages/metadata/ingestion/source/metabase.py", line 219, in get_lineage
    resp_tables = self.req_get(f"/api/table/{chart_details['table_id']}")
KeyError: 'table_id'
ERROR: None
Traceback (most recent call last):
  File "/Users/mayursingal/Desktop/ulixius1/OpenMetadata/venv/lib/python3.8/site-packages/metadata/ingestion/source/metabase.py", line 235, in get_lineage
    id=table_entity.id.__root__, type="table"
AttributeError: 'NoneType' object has no attribute 'id'
ERROR: None
Traceback (most recent call last):
  File "/Users/mayursingal/Desktop/ulixius1/OpenMetadata/venv/lib/python3.8/site-packages/metadata/ingestion/source/metabase.py", line 235, in get_lineage
    id=table_entity.id.__root__, type="table"
AttributeError: 'NoneType' object has no attribute 'id'
ERROR: None
Traceback (most recent call last):
  File "/Users/mayursingal/Desktop/ulixius1/OpenMetadata/venv/lib/python3.8/site-packages/metadata/ingestion/source/metabase.py", line 219, in get_lineage
    resp_tables = self.req_get(f"/api/table/{chart_details['table_id']}")
KeyError: 'table_id'
ERROR: None
Traceback (most recent call last):
  File "/Users/mayursingal/Desktop/ulixius1/OpenMetadata/venv/lib/python3.8/site-packages/metadata/ingestion/source/metabase.py", line 235, in get_lineage
    id=table_entity.id.__root__, type="table"
AttributeError: 'NoneType' object has no attribute 'id'
ERROR: None
Traceback (most recent call last):
  File "/Users/mayursingal/Desktop/ulixius1/OpenMetadata/venv/lib/python3.8/site-packages/metadata/ingestion/source/metabase.py", line 235, in get_lineage
    id=table_entity.id.__root__, type="table"
AttributeError: 'NoneType' object has no attribute 'id'
ERROR: None
ERROR: KeyError('id')
ERROR: KeyError('id')
@ulixius9 ulixius9 self-assigned this Mar 1, 2022
@ulixius9 ulixius9 added this to To do in Release 0.9.0 via automation Mar 1, 2022
@ulixius9 ulixius9 added this to the Milestone 5 - 0.9.0 Release milestone Mar 1, 2022
ulixius9 added a commit to ulixius9/OpenMetadata that referenced this issue Mar 1, 2022
Release 0.9.0 automation moved this from To do to Done Mar 1, 2022
harshach pushed a commit that referenced this issue Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant