-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 Bug Report: Unexpectedly found nil while unwrapping an Optional value #42
Comments
@genki-iosdev, thanks for raising this issue! Are you connecting to Appwrite Cloud? And what version of the Appwrite Apple SDK are you using? |
I'm currently using version 4.0.0 of the Appwrite Apple SDK, I'm not sure if I'm using the Appwrite Cloud |
@genki-iosdev, how are you accessing your Appwrite instance? What are you using for the endpoint with the SDK? |
I used this endpoint. |
@genki-iosdev, you're using Appwrite Cloud (notice the endpoint is |
👟 Reproduction steps
AppwriteModels/User.swift:130: Fatal error: Unexpectedly found nil while unwrapping an Optional value
👍 Expected behavior
It should return the User object normally.
👎 Actual Behavior
When I started calling the user registration interface according to the official documentation, an error occurred when the interface returned.
I found that the problem is that during the conversion of User, the default value of the labels field is missing.
🎲 Appwrite version
Version 0.10.x
💻 Operating system
MacOS
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: