Catch Http404 error (not invalidpage)