-
Notifications
You must be signed in to change notification settings - Fork 3k
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 is using an old dashboard URL #9588
Comments
Metabase removed GET /api/dashboard from their API in 0.48.0 metabase/metabase#35235
|
And they are going to restore GET /api/dashboard for backwards compatibility, but
Also, this is just a temporary fix: metabase/metabase#37455
|
metabase team restored the dashboard endpoint on version A quick patch could be something like: d45c680 I still think that the ingestion via their new API should also be implemented. Response from {
"description": null,
"archived": false,
"collection_position": null,
"dashcards": [
{
"size_x": 12,
"dashboard_tab_id": null,
"series": [],
"action_id": null,
"collection_authority_level": null,
"card": {},
"updated_at": "2024-01-22T14:15:36.572015Z",
"col": 0,
"id": 2,
"parameter_mappings": [],
"card_id": 2,
"entity_id": "bH7A6whewZ_B8kEjrhbdD",
"visualization_settings": {},
"size_y": 6,
"dashboard_id": 1,
"created_at": "2024-01-22T12:23:41.999383Z",
"row": 1
},
{
"size_x": 24,
"dashboard_tab_id": null,
"series": [],
"action_id": null,
"collection_authority_level": null,
"card": {},
"updated_at": "2024-01-22T14:15:36.572015Z",
"col": 0,
"id": 3,
"parameter_mappings": [],
"card_id": null,
"entity_id": "jOpjajMjXy5Z49rbeTE-C",
"visualization_settings": {
"virtual_card": {
"name": null,
"display": "heading",
"visualization_settings": {},
"dataset_query": {},
"archived": false
},
"dashcard.background": false,
"text": "Instant Loans Overview"
},
"size_y": 1,
"dashboard_id": 1,
"created_at": "2024-01-22T14:15:36.572015Z",
"row": 0
}
],
"param_values": null,
"can_write": true,
"tabs": [],
"enable_embedding": false,
"collection_id": 2,
"show_in_getting_started": false,
"name": "Overview",
"caveats": null,
"collection_authority_level": null,
"creator_id": 1,
"updated_at": "2024-01-22T14:15:36.572015Z",
"made_public_by_id": null,
"embedding_params": null,
"cache_ttl": null,
"id": 1,
"position": null,
"entity_id": "Fa4qmexfobQ3Jt7NK3tmB",
"param_fields": null,
"last-edit-info": {
"id": 1,
"email": "[email protected]",
"first_name": "a",
"last_name": "email",
"timestamp": "2024-01-22T14:15:36.693897Z"
},
"collection": {
"authority_level": null,
"description": null,
"archived": false,
"slug": "instant_loans",
"name": "Instant Loans",
"personal_owner_id": null,
"type": null,
"id": 2,
"entity_id": "E6ysOXBs9zxHPhPuvQTYe",
"location": "/",
"namespace": null,
"is_personal": false,
"created_at": "2024-01-22T10:59:15.907933Z"
},
"parameters": [],
"auto_apply_filters": true,
"created_at": "2024-01-22T10:59:31.6482Z",
"public_uuid": null,
"points_of_interest": null
} |
Describe the bug
Metabase ingestion is using an old dashboard URL. I'm running Metabase on v0.48.1 and for this version, the dashboard endpoint changed a little and it requires a /public added on the aforementioned URL in DataHub's code.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I'd expect DataHub ingestions'code to be on sync with the source's modern version
Additional context
I'd be willing to contribute on the fix. I just want to understand if we need to "just fix it" or make it backward compatible e.g. by making the dashboard endpoint configurable in the source.
The text was updated successfully, but these errors were encountered: