IR load with invalid path returns 500 instead of 422 #19

Open
opened 2026-06-18 23:42:34 +00:00 by shawn · 0 comments
Owner

Observed: POST /api/irs/load {"path":"bogus.wav"} returns HTTP 500 with no detail message. Expected: HTTP 422 with proper error.

Impact: Client cannot distinguish between invalid path and server crash. The models/load endpoint handles this correctly (returns 422).

Severity: Low

**Observed:** `POST /api/irs/load {"path":"bogus.wav"}` returns HTTP 500 with no detail message. Expected: HTTP 422 with proper error. **Impact:** Client cannot distinguish between invalid path and server crash. The models/load endpoint handles this correctly (returns 422). **Severity:** Low
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shawn/pi-multifx-pedal#19