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
- Deploy function not working - 503
Hellon i get this error message, when i try to deploy a new version of a function <html><body><h1>503 Service Unavailable</h1>No server is available to handle...
- Error When load the website
Hi, I am getting this error whenever I reload my website please help me, I am using react Error: ** GET https://cloud.appwrite.io/v1/account 401 (Unauthoriz...
- Migrate from cloud to localhost
Hello everyone. I need to migrate my test project from cloud to localhost, however it seems that this is possible only if a self-hosted appwrite instance it's h...