diff --git a/web/app/components/workflow/skill/editor/skill-editor/plugins/file-reference-block/component.tsx b/web/app/components/workflow/skill/editor/skill-editor/plugins/file-reference-block/component.tsx
index 2240c70169..78e6c244dc 100644
--- a/web/app/components/workflow/skill/editor/skill-editor/plugins/file-reference-block/component.tsx
+++ b/web/app/components/workflow/skill/editor/skill-editor/plugins/file-reference-block/component.tsx
@@ -75,10 +75,13 @@ const FileReferenceBlock = ({ nodeKey, resourceId }: FileReferenceBlockProps) =>
? getFileIconType(currentNode?.name || '', currentNode?.extension)
: null
const pathForTooltip = (currentNode?.path ?? (resourceId.includes('/') ? resourceId : undefined))?.slice(1) // remove leading slash for better display
+ const missingMessage = isFolder
+ ? t('skillEditor.folderNotFound', { ns: 'workflow' })
+ : t('skillEditor.fileNotFound', { ns: 'workflow' })
const tooltipContent = isMissing
? (
-
{t('skillEditor.fileNotFound', { ns: 'workflow' })}
+
{missingMessage}
{pathForTooltip && (
{pathForTooltip}
)}
diff --git a/web/i18n/en-US/workflow.json b/web/i18n/en-US/workflow.json
index b797d547d2..95d7dcc0e3 100644
--- a/web/i18n/en-US/workflow.json
+++ b/web/i18n/en-US/workflow.json
@@ -1113,6 +1113,7 @@
"skillEditor.authorizationBadge": "Auth",
"skillEditor.authorizationRequired": "Authorization required before use.",
"skillEditor.fileNotFound": "The file does not exist",
+ "skillEditor.folderNotFound": "The folder does not exist",
"skillEditor.openInSkillEditor": "Open in Skill Editor",
"skillEditor.previewUnavailable": "Preview unavailable",
"skillEditor.referenceFiles": "Reference files",
diff --git a/web/i18n/zh-Hans/workflow.json b/web/i18n/zh-Hans/workflow.json
index 0bad90b617..cf42023ad7 100644
--- a/web/i18n/zh-Hans/workflow.json
+++ b/web/i18n/zh-Hans/workflow.json
@@ -1105,6 +1105,7 @@
"skillEditor.authorizationBadge": "Auth",
"skillEditor.authorizationRequired": "使用前需要授权。",
"skillEditor.fileNotFound": "文件不存在",
+ "skillEditor.folderNotFound": "文件夹不存在",
"skillEditor.openInSkillEditor": "在技能编辑器中打开",
"skillEditor.previewUnavailable": "无法预览",
"skillEditor.referenceFiles": "引用文件",