π Bug Report: Crash with Database Parsing
iMacHumphries opened this issue Β· comments
π Reproduction steps
I'm tying to use this SDK from a server to create the DB structure. Here's a simple program to repro:
let client = Client()
.setEndpoint(Constants.endpoint)
.setProject(Constants.appWriteProjectId)
.setKey(Constants.appWriteKey)
databases = Databases(client)
let databaseList = try await databases.list()
(Side note: 404 - page not found on the code of conduct link)
π Expected behavior
No crash :)
π Actual Behavior
AppwriteModels/Database.swift:53: Fatal error: Unexpectedly found nil while unwrapping an Optional value
π² Appwrite version
Different version (specify in environment)
π» Operating system
Linux
𧱠Your Environment
Running AppWrite with docker on local
docker run -it --rm \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="install" \
appwrite/appwrite:0.13.3
π Have you spent some time to check if this issue has been raised before?
- I checked and didn't find similar issue
π’ Have you read the Code of Conduct?
- I have read the Code of Conduct
I had the wrong server version.