---
title: API: every error is the JSON error envelope, never an empty 500
description: A few requests to the REST API ended in a 500 with an empty body that clients and generated SDKs could not read: a malformed monitor id on reset, a malformed…
canonical: https://watchfor.io/changelog/2026-11-22-api-errors-always-json
---

[All updates](/changelog#2026-11-22-api-errors-always-json) 🐛 Fixed API Nov 22, 2026 · v 13.8.7

# API: every error is the JSON error envelope, never an empty 500

A few requests to the REST API ended in a 500 with an empty body that clients and generated SDKs could not read: a malformed monitor id on reset, a malformed monitor_id filter, a NUL character in a search, a GET on the batch endpoint. Each now answers with the documented error and the right status (404, 400 or 405), and any error we did not anticipate comes back as the JSON envelope with code internal_error, so a client can always read what happened.

Share this update

---

Canonical page: https://watchfor.io/changelog/2026-11-22-api-errors-always-json · Site guide: https://watchfor.io/llms.txt
