Closed
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