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
- Confusion around Tables / TablesDB vs Da...
Hello everyone, I ran into quite a bit of confusion when trying to migrate a Function from Databases.createDocument() to the new Tables / Rows API and wanted t...
- Free plan Usage
I using a free plan with one organization. I have three projects but on the free plan I should be able to have 2 projects running But in my case only 1 out of ...
- SPA Not working
So I'm using vite/react, which is spa, and it used to work before, but now whenever I go to any route except the root it shows appwrites 404 page, instead of us...