GoogleCloudPlatform / GoogleCloudPlatform/gsutil
gcloud authentication error while transferring these files.. Your “OAuth 2.0 Service Account” credentials are invalid
- Dominant language
- Python
- Stars
- 918
- Forks
- 335
- PR merge metrics
- No merged PRs in 30d
Description
We have a gsutil service that uploads files to google cloud bucket. There are many files in the source folder that are getting successfully uploaded to bucket except one. Below is the error logged while transferring this particular file.
**gcloud authentication error while transferring these files.. Your "OAuth 2.0 Service Account" credentials are invalid. Please run $ gcloud auth login**
Pls note the file size is relatively large .. around 390MB... Apart from the file size there is nothing else specific to this file.
Gcloud version details: Google Cloud SDK 130.0.0 bundled-python 2.7.10 gcloud gsutil 4.21
Please note , this same file has got uploaded successfully in less than 2 mins when tried again. When the upload failed for this file, there were about 20 files that were sequentially uploaded to cloud in less than 2 mins just before this file which was last in order.None of these other 20 files had volume more than 100MB. Just thought this information may be of use.
Can anyone please help ?
Contributor guide
Assessment
This issue has not been assessed yet.