-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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: query with empty list throws error #5522
Closed
2 tasks done
Labels
Milestone
Comments
stnguyen90
added
the
product / databases
Fixes and upgrades for the Appwrite Database.
label
May 11, 2023
@joscha0, thanks for creating this issue! 🙏 Let me check with the team on this. |
Would love to try this issue. Please assign me |
We plan to throw 400 if an empty array is passed. This is actually already done and pending merge of utopia-php/database#264. @ArslanYM, I suggest looking for issues labeled with "good first issue" if you're looking to contribute. |
This was referenced Jul 25, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
👟 Reproduction steps
if
ids
is empty list[]
->AppwriteException: general_unknown, Server Error (500)
👍 Expected behavior
return empty list
👎 Actual Behavior
throws error:
AppwriteException: general_unknown, Server Error (500)
🎲 Appwrite version
Version 1.3.x
💻 Operating system
Linux
🧱 Your Environment
Appwrite Cloud
Flutter SDK
appwrite: ^8.2.2
👀 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: