Return 404 for a missing org instead of 200 with empty body

FixSecurityService
Shipped
July 1, 2026 at 2:51 AM UTC
Author
Kamo
Commit
a93428e

getOrganizationById returned a bare null, which Spring serialized to HTTP 200 with an empty body; clients calling response.json() then threw 'Unexpected end of JSON input'. Return a proper 404 when not found.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing