Send error response directly if validation error appears