Error in accessing Pins in Python
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 59
- Fork
- 11
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
I have my GCP account, service account and cloud storage enabled. I have service account .json also dowloaded. using this i am able to create a pin in R using board_gcs. i read again to check and it works fine. But i am not able to connect the same pin in python. even after doing everything to the best of my knowledge i am getting these errors
os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = str(path)
board_cloud = board_gcs(bucket_name)
board_cloud.pin_write(x=df, name="test_data", type="csv")
HttpError: Anonymous caller does not have storage.buckets.get access to the Google Cloud Storage bucket. Permission 'storage.buckets.get' denied on resource (or it may not exist)., 401
Cell In[28], line 1
----> 1 board_cloud.pin_write(x=df, name="test_data", type="csv")
Please help me to resolve
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia riproducendo la sequenza Python segnalata con GOOGLE_APPLICATION_CREDENTIALS, board_gcs(bucket_name) e pin_write(..., type="csv"), quindi confrontala con il flusso board_gcs funzionante in R. Verifica che la connessione Python possa accedere al bucket Google Cloud Storage indicato e che pin_write venga completato senza l'errore 401 storage.buckets.get.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- gcp, python
- Ambito
- cloud
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100