Added a clean 404 error for getAll in the default case