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
- No proper build logs on fail
I am trying to deploy my vite project on site but build is failing without even showing proper error logs. In image you can see there is not any build error lo...
- available domain shows unavailable
I am trying to deploy my project on site, but while creatiing the site it shows the domain 'insightly' isnt available. even though if i visit https://insightly...
- type generation on same columns in table
is there way to prevent this ? or only need to update column name like table prefix?