UI: Files island — 'File operation failed (status 404)' when creating folder #56

Open
opened 2026-04-15 13:34:51 +00:00 by zaelgohary · 3 comments
Member

Description

When attempting to create a new folder in the Files island, the operation fails with an error banner:

File operation failed (status 404)

The folder name input appears correctly and accepts text, but submitting the folder name triggers a 404 from the backend.

Steps to Reproduce

  1. Open Files island from dock
  2. Click "New folder" toolbar button
  3. Enter a folder name (e.g. "test_folder")
  4. Press Enter or click Create
  5. Observe error: "File operation failed (status 404)"

Expected

Folder should be created in the current directory.

Root Cause

The Files island's backend API endpoint for folder creation is returning 404 — the OSIS file service may not be running or the route is misconfigured.

Severity

High — core file management functionality is broken

## Description When attempting to create a new folder in the Files island, the operation fails with an error banner: > File operation failed (status 404) The folder name input appears correctly and accepts text, but submitting the folder name triggers a 404 from the backend. ## Steps to Reproduce 1. Open Files island from dock 2. Click "New folder" toolbar button 3. Enter a folder name (e.g. "test_folder") 4. Press Enter or click Create 5. Observe error: "File operation failed (status 404)" ## Expected Folder should be created in the current directory. ## Root Cause The Files island's backend API endpoint for folder creation is returning 404 — the OSIS file service may not be running or the route is misconfigured. ## Severity High — core file management functionality is broken
Author
Member

Screenshots

deep_files_ctx_01_menu_open.png

deep_files_ctx_01_menu_open.png

## Screenshots ### deep_files_ctx_01_menu_open.png ![deep_files_ctx_01_menu_open.png](https://forge.ourworld.tf/attachments/fe651b9e-bdd6-49a9-a5be-40fec33fb0d1)
Author
Member

Root Cause Found

Network capture shows the exact failing request:

POST http://127.0.0.1:9988/hero_foundry/rpc/api/files/geomind/network_test_folder?action=mkdir → 404

File operations go through hero_foundry RPC. The endpoint /hero_foundry/rpc/api/files/ returns 404 because the hero_foundry service is not running.

This affects all file operations: create folder, create file, rename, delete, copy, move.

## Root Cause Found Network capture shows the exact failing request: ``` POST http://127.0.0.1:9988/hero_foundry/rpc/api/files/geomind/network_test_folder?action=mkdir → 404 ``` File operations go through `hero_foundry` RPC. The endpoint `/hero_foundry/rpc/api/files/` returns 404 because the **hero_foundry service is not running**. This affects all file operations: create folder, create file, rename, delete, copy, move.
Author
Member

Files island has no entry in any dock section (Library/Tools/Communication/Office/Projects/Admin/Development). Bug repro path ("Open Files island from dock") no longer reachable via UI — direct URL /files returns Island not found: files (HTTP 404) WASM load error. Either bring the dock entry back or close this as obsolete. Verified live via Playwright.

Files island has no entry in any dock section (Library/Tools/Communication/Office/Projects/Admin/Development). Bug repro path ("Open Files island from dock") no longer reachable via UI — direct URL /files returns `Island not found: files (HTTP 404)` WASM load error. Either bring the dock entry back or close this as obsolete. Verified live via Playwright.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_os#56
No description provided.