Return error code if save fails