🐛 Bug Report: Using only search parameter in listCollections results in Error #18
Closed
2 tasks done
Labels
bug
Something isn't working
👟 Reproduction steps
Using only search parameter in listCollections results in Error
Try running:
val collectionList = appwriteDatabase.listCollections(search = "COLLECTIONID")
👍 Expected behavior
If collection exists I would like to receive a proper io.appwrite.models.CollectionList Object
If collection does not exists I would like to receive a proper io.appwrite.models.CollectionList Object, but sum would be 0 and collections would be empty map?
👎 Actual Behavior
Currently results in an error which is not clear (the collection id exists):
Looking in appwrite logs:
🎲 Appwrite version
Different version (specify in environment)
💻 Operating system
Windows
🧱 Your Environment
Appwrite v0.12.1 - sdk-for-kotlin v0.2.2
Java v11
Kotlin v1.6.10
👀 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: