Response error fix

Update the upload response logic to handle OpenPhotoErrors.