diff --git a/frontend/amundsen_application/static/js/ducks/api/metadata/v0.ts b/frontend/amundsen_application/static/js/ducks/api/metadata/v0.ts index dc58c06454..4a064d521c 100644 --- a/frontend/amundsen_application/static/js/ducks/api/metadata/v0.ts +++ b/frontend/amundsen_application/static/js/ducks/api/metadata/v0.ts @@ -158,6 +158,6 @@ export function metadataGetPreviewData(action: GetPreviewDataRequest) { return { data: response.data.previewData, status: response.status }; }) .catch((error) => { - return { data: error.response.data.previewData, status: error.response.status }; + return { data: {}, status: error.response.status }; }); }