save policy error handling