Handling 404 error for service not found.