I've been abusing HTTP Status Codes in my APIs for years
Nothing prevents you from setting <i>both</i> a non-2xx API header, and still making the difference of &quot;invalid path&quot; vs &quot;entity doesn&#x27;t exists&quot; clear in the response body.