Error - 404 redirect because Entity not found