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
- fastly error
Hey! I'm hitting a Fastly error on the www version of our site, but the root domain works fine. We have a wildcard set up, so I expected the subdomain to be cov...
- Facebook's scraper facebookexternalhit g...
share.bardbliss.com but works fine on the raw fra.appwrite.run URL. No execution logs appear when Facebook hits the custom domain. This was working before. How ...
- How to Display File in Web?
I'm trying to use Appwrite's Storage to store images and display them in my app, however when I use the `getFileView`, `getFileDownload` or `getFilePreview` met...