-
Notifications
You must be signed in to change notification settings - Fork 11
Description
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