handle error 410 while uploading