Check if delete api is returning any response body. If not, that can be the root cause. Angular was trying to parse the DELETE response as Company (JSON) but your server likely returned 200 OK with no JSON.