Skip to content

TypeError: SyncBucket.__init__() got an unexpected keyword argument 'file_size_limit' #392

@kevinschaich

Description

@kevinschaich

Describe the bug

Getting the following error when attempting to download a file from a storage bucket:

TypeError: SyncBucket.__init__() got an unexpected keyword argument 'file_size_limit'

To Reproduce

url: str = os.environ.get("PROD_SUPABASE_URL")
key: str = os.environ.get("PROD_SUPABASE_KEY") 
supabase = create_client(url, key)
file = supabase.storage().get_bucket('raw-data').list()

Expected behavior

File downloads successfully

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstorageIssues related to storage-py

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions