LCU.Api.Internal.MaidBotApi If an entity cannot be found, that specific error can allow for a 404 or 400 with more detail to be returned. So specify that to the API layer. Do not want to expose database and related exceptions to the controllers / web layer. The lower layers log what happened for developers, then return a general error; unless a more specific error can be returned in a way to allow the client to act (such as NotFound).