

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
- Cannot access my Appwrite database on th...
Hello guys, I am currently developing a web app and using appwrite for authentication, database, storage and messaging. It was working well but since yesterday...
- 400Invalid query: Attribute not found in...
Hello When I open the database I am not able to reach anything just seeing an error message. Can you help me please?
- Asymetric Authentication for Appwrite si...
Is there any way to do asymmetric authentication of Appwrite users on the server side without making a network call? This can result in a huge reduction in late...
