bug: Task creation fails — 'Failed to create task: HTTP error: 404' #61

Closed
opened 2026-04-15 14:06:09 +00:00 by zaelgohary · 2 comments
Member

Description

Creating a new task fails with the error:

Failed to create task: HTTP error: 404

The form renders and accepts input but the backend API returns 404 on submission. This is the same 404 as the task listing error (issue #45) — the OSIS tasks endpoint is unreachable.

Steps to Reproduce

  1. Open Projects > Tasks
  2. Click "+ Add Task"
  3. Fill "Task Title" and click "Create Task"
  4. Error banner: "Failed to create task: HTTP error: 404"

Severity

High — task creation broken

## Description Creating a new task fails with the error: > Failed to create task: HTTP error: 404 The form renders and accepts input but the backend API returns 404 on submission. This is the same 404 as the task listing error (issue #45) — the OSIS tasks endpoint is unreachable. ## Steps to Reproduce 1. Open Projects > Tasks 2. Click "+ Add Task" 3. Fill "Task Title" and click "Create Task" 4. Error banner: "Failed to create task: HTTP error: 404" ## Severity High — task creation broken
Author
Member

Screenshots

pr_tasks_01_created.png

## Screenshots ![pr_tasks_01_created.png](https://forge.ourworld.tf/attachments/6789a691-068b-4b2a-833f-0da24957c584)
Author
Member

Cause: the tasks code called {osis_url}/rpc/{context} directly. After the router refactor that URL shape no longer exists → 404 on every task call.

Fix: hero_archipelagos@5f58841 — the tasks service now goes through hero_osis_sdk::ProjectsClient, which builds a URL the router actually routes.

**Cause:** the tasks code called `{osis_url}/rpc/{context}` directly. After the router refactor that URL shape no longer exists → 404 on every task call. **Fix:** [hero_archipelagos@5f58841](https://forge.ourworld.tf/lhumina_code/hero_archipelagos/commit/5f58841) — the tasks service now goes through `hero_osis_sdk::ProjectsClient`, which builds a URL the router actually routes.
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#61
No description provided.