memoonlite
Hello everyone! ππ»
I have the following piece of code (client side, Flutter):
TypeScript
databaseId: 'id',
collectionId: 'id',
documentId: '');```
As you might have noticed, I'm passing an empty string as documentId. No such ID exists of course. But yet this code returns a document.
I expect the above code to return an exception. When I pass a random string as ID it indeed throws an exception, as it should be. But not when I pass an empty string (''). π€
Can anyone confirm that this is indeed a bug in Apprite?
TL;DR
Issue: Passing an empty string as documentId in AppWrite's getDocument function returns a document instead of throwing an exception.
Solution: This behavior is likely a bug in AppWrite. Consider reporting it to the developers for further investigation and resolution. Recommended threads
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...
- Our Appwrite organization is suspended
Please give support regarding this , no app is working now , please solve my issue and give support , no one is replying in message section or email.
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...