A 200 OK can hide a 400
During a server-side GTM outage, every dashboard said the endpoint was healthy. The failure was sitting inside the response body.
During a server-side GTM outage, the browser, Cloudflare and Grafana all saw a healthy 200 OK. Meanwhile, GA4 lost 90–99% of its hourly page views. The real status was inside the response body:
HTTP 200 OK (Cloudflare)
event: message
data: {"response":{"status_code":400,"body":""}}An empty 400 from sGTM means no client claimed the request: the server received every hit and processed none of them.
How we found it (and the surprisingly boring fix) is in the case study Preview works. Live doesn't.
- #server-side-gtm
- #monitoring
- #debugging