Could not fetch documents AppwriteException: Invalid query: {"method":"limit","values":[150]}
- 0
- Databases
- Cloud
Hi, Just upgraded my prototype to V1.5 . I'm using AW Cloud and getting an issue with Query on the cloud using listDocuments. Previously in my listDocuments I had [Query.limit(150)] but now that's giving me an error in the console: Could not fetch documents AppwriteException: Invalid query: {"method":"limit","values":[150]} at Client.eval (webpack-internal:///./node_modules/appwrite/dist/esm/sdk.js:448:27) at Generator.next (<anonymous>) at fulfilled (webpack-internal:///./node_modules/appwrite/dist/esm/sdk.js:51:58)
If I comment out the Query.limit I get the default 25 results returned ok. I upgraded all the packages, and there's nothing in the release notes about Query changes I can see. (Updated the couple of session/password breaking changes aok) Did I miss something?
"appwrite": "^14.0.0",
Maybe I should try a node modules delete and a NPM Install, instead of npm update? The update worked ok though, as I changed the //V1.5 createEmailSession renamed to createEmailPasswordSession aok
nit: you tagged cloud, so Cloud isnt on 1.5x atm.
huh? I though it was all updated?
The top most post when you created this was the same problem đ
Naah, Cloud's still on 1.4.13.
So wait, when is the cloud being updated to 1.5. It's a little confusing
sometime later when it's considered stable for public use.
Isn't that what the beta was for?
you can do 1.5x on self hosted.
I already updated my SH, but using both for testing
I just ASSumed Cloud was logically going to 1.5 as well
not yet.
That's not optimal if you're using both
You can see the version at the bottom right of the Console
Do you have a timeline?
ah, Version 1.4.13
my bad. Bummer
That's unfortunate. I prefer using cloud tbh, unless I need to frig with auth due to rate limits
SH has some issues with image preview I haven't had resolved
Missed this in the announcement: In the coming weeks, we will release Appwrite 1.5 to Cloud. Stay tuned! đŠī¸ Please mark resolved. ty
Recommended threads
- I recently switched to TablesDb. When li...
olddb.list_documents( queries =[ Query.order_desc("timestamp"), Query.equal("isPosted",[False]) ] ) Above works fine and reruns documents But below don't return...
- Database error validating 'min' and 'max...
I keep seeing an error when I try to add a column to a database table within the AppWrite cloud UI. I also see this error when trying to create or update a reco...
- Fine grained permissions for webRTC hand...
Hi, I am building a WebRTC P2P app for a university project and have hit a security limitation regarding permissions for anonymous users. The Architecture: We ...