You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The 404 Not Found error when trying to get the resource of an icon in the workspace could be due to an incorrect or missing tenant_id or filename in the URL. The useGetIcon function constructs the URL for the icon using the currentWorkspace.id and the provided fileName. If either of these values is incorrect or if the file does not exist at the specified location, it would result in a 404 error.
Ensure that currentWorkspace.id is correctly set and that the fileName you are passing to getIconUrl is correct and corresponds to an existing resource. Here is the relevant code snippet:
Self Checks
Dify version
1.0.0
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
cannot get the resource of icon in workspace when add tools.
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
The text was updated successfully, but these errors were encountered: