Upload error for BCL test folder.
alemenze opened this issue · comments
Alex Lemenze commented
Appears to work fine for standard file tests. Weird issue when uploading larger files, or possibly something bcl specific?
Traceback (most recent call last):
File "./bcl_upload.py", line 117, in <module>
uploader(['./RAW_BCL_FOLDER'])
File "./bcl_upload.py", line 106, in uploader
up_id=writeToGDrive(f, os.path.join(dirpath, f), new_parent, source_md5)
File "./bcl_upload.py", line 67, in writeToGDrive
status, response = file.next_chunk()
File "/.local/lib/python3.6/site-packages/googleapiclient/_helpers.py", line 130, in positional_wrapper
return wrapped(*args, **kwargs)
File "/.local/lib/python3.6/site-packages/googleapiclient/http.py", line 995, in next_chunk
return self._process_response(resp, content)
File "/.local/lib/python3.6/site-packages/googleapiclient/http.py", line 1026, in _process_response
raise HttpError(resp, content, uri=self.uri)
googleapiclient.errors.HttpError: <HttpError 400 when requesting https://www.googleapis.com/upload/drive/v3/files?fields=id&alt=json&uploadType=resumable returned "Bad Request">