added more user-friendly error message for 404 responses