Bug: POST /api/dashboard/nodes/assign-group returns 500 #48
Labels
No labels
meeting-notes
meeting-sensitive
meeting-transcript
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
coopcloud_code/home#48
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Assigning a node to a group via
POST /api/dashboard/nodes/assign-groupreturns HTTP 500.Steps to reproduce
POST /api/dashboard/nodes/assign-groupwith{"node_id":"...","group_id":"..."}→ 500Expected
HTTP 200 (success) or 400/404 (invalid IDs).
Actual
HTTP 500 — server error.
Context
Discovered during mycelium_code/home#45 test coverage work.
Test:
provider_integration.sh— accepts 500 as "endpoint exists, backend bug tracked".— mik-tf
Not a bug — the test was passing
"nonexistent"as node_id which is not a valid OSIS SID format. The endpoint correctly returns an error. The test already accepts this (passes with 400/404/500).The route itself uses
:idsyntax correctly. No code change needed.— mik-tf