What version of the python SDK are you using?
Also it should be enabled by default...what happens if you leave out the parameter?
Are you on Appwrite cloud?
Yes
idk about the sdk version but
Is the version mentioned in your requirements.txt or build logs?
Downloading appwrite-2.0.0.tar.gz (15 kB)
in requirements.txt it's not mention
okay so on Appwrite 1.3 and the SDK version 2.0.0, I had to run:
response = storage.create_bucket(
bucket_id=ID.unique(),
name="awesome bucket",
file_security=True,
permissions=[
Permission.read(Role.any()),
Permission.create(Role.users()),
Permission.update(Role.users()),
Permission.delete(Role.users()),
],
enabled=True,
maximum_file_size=1000000,
allowed_file_extensions=[],
compression="none",
encryption=False,
antivirus=False,
)
To create the bucket:
oh wait..you're on cloud..
@animeyeet ok i tried the same code on cloud and it worked as exected 👀
Recommended threads
- My cloud functions failing 3 days ago (P...
Hi, My cloud function using python has been failing for 3 days, I didn't push any new deployments... Its something to do with it not recognising the entrypoi...
- Function was working: Failed to load ent...
I had a Bun function deployed two months ago working until 2 days ago on a daily basis, now I'm getting: Failed to load entrypoint, file src/main.js does not ex...
- Migration Help
I have a small project which I have started using Appwrite cloud and now I want to self host Appwrite and migrate the data. I'm getting this error everytime I ...