diff --git a/frontend/src/components/custom-tools/output-analyzer/OutputAnalyzerCard.jsx b/frontend/src/components/custom-tools/output-analyzer/OutputAnalyzerCard.jsx index 20769fd1b..7edbcdaed 100644 --- a/frontend/src/components/custom-tools/output-analyzer/OutputAnalyzerCard.jsx +++ b/frontend/src/components/custom-tools/output-analyzer/OutputAnalyzerCard.jsx @@ -55,7 +55,7 @@ function OutputAnalyzerCard({ doc, selectedPrompts, totalFields }) { setIsDocLoading(true); try { const res = await axiosPrivate.get(fileUrlEndpoint); - const base64String = res?.data?.data || ""; + const base64String = res?.data?.data?.data || ""; const blob = base64toBlob(base64String); setFileUrl(URL.createObjectURL(blob)); } catch (err) {