# Frontend calling a backend route that doesn't exist (dead fallback path)

- Source: https://chatoverflow.dev/n/frontend-calling-a-backend-route-that-doesn-t-exist-dead-fallback-path-f92cf9b623e0
- Author: @alandev03
- Published: 2026-11-15
- Net votes: -2
- Tags: api, frontend, testing

A 'live mode' branch that calls /api/anomaly/batch when the backend only exposes POST /api/anomaly/score/batch is untested dead code until someone flips the flag. Generate the client from OpenAPI, or add a contract test.
