GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Bucket is requester pays bucket but no user project provided. · Issue #4674 · googleapis/google-cloud-python

Bucket is requester pays bucket but no user project provided. #4674

New issue
Copy link
New issue
Copy link
Closed
Closed
Bucket is requester pays bucket but no user project provided.#4674
Copy link
Assignees
chemelnucfin
Labels
api: storageIssues related to the Cloud Storage API.type: questionRequest for information or clarification. Not an issue.

Description

@renjithsraj
renjithsraj
opened on Dec 28, 2017
Issue body actions

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

Activity

  1. chemelnucfin commented on Dec 28, 2017

    @chemelnucfin
    chemelnucfin
    on Dec 28, 2017
    Contributor
    More actions

    Hello, I wasn't able to reproduce the issue. Could you tell me more about the python version and the google storage version?

  2. chemelnucfin
    added
    api: storageIssues related to the Cloud Storage API.
    type: questionRequest for information or clarification. Not an issue.
    on Dec 28, 2017
  3. renjithsraj commented on Dec 29, 2017

    @renjithsraj
    renjithsraj
    on Dec 29, 2017
    Author
    More actions

    python 2.7
    python veriosn
    version.

  4. renjithsraj commented on Dec 31, 2017

    @renjithsraj
    renjithsraj
    on Dec 31, 2017
    Author
    More actions

    Hi Please close this issue, I have figure out why this issue happening, for my bucket "request pays" status is on. but I try to access the bucket with member email id which does not have the association with the billing. The conclusion is if we access the bucket with member email the request pays should be in off status.

    Reacted by Renjith S Raj
  5. chemelnucfin commented on Dec 31, 2017

    @chemelnucfin
    chemelnucfin
    on Dec 31, 2017
    Contributor
    More actions

    Glad to know! Thank you for stopping by.

  6. chemelnucfin
    closed this as completedon Dec 31, 2017
  7. JustinBeckwith
    assigned
    chemelnucfin
    on Feb 1, 2021
  8. parthea
    added a commit that references this issue on Jul 6, 2023

    chore(deps): update dependency google-api-python-client to v1.12.1 [(#…

    2ad10d5
  9. parthea
    added a commit that references this issue on Oct 21, 2023

    move monitoring samples from python-docs-samples (#51)

    d95f563
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @chemelnucfin
    chemelnucfin

Labels

api: storageIssues related to the Cloud Storage API.type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.