Use more reliable upload assertion