I am using a global exception handler referring to articles like https://code-maze.com/global-error-handling-aspnetcore/ (Handling Errors Globally with the Built-In