-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.
Description
While Try to upload CSV file to the google storage using google.cloud python packages, it's throwing
google.api_core.exceptions.BadRequest: 400 GET https://www.googleapis.com/storage/v1/b/<<bucket_name>>t?projection=noAcl: Bucket is requester pays bucket but no user project provided.
Process finished with exit code 1
Code:
from google.cloud import storage
client = storage.Client("project_name")
bucket = client.get_bucket('bucket_name')
blob = bucket.blob(' test_re.csv')
blob.upload_from_string('this is test content!')
please do help me
Metadata
Metadata
Assignees
Labels
api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.