Updated the InvalidEntityException to return a 403 (Forbidden) instead of 400 (Bad Request) when entity fails validation