Skip to content

Error in accessing Pins in Python #331

@nithinmkp

Description

@nithinmkp

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-infoNeeds other information to diagnose problem

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions