Closed NickHatBoecker closed 2 weeks ago
@NickHatBoecker, thanks for creating this issue! ๐๐ผ
This is expected because Version 15 of the SDK is meant for Appwrite 1.5. See https://github.com/appwrite/sdk-for-web/blob/15.0.0/README.md?plain=1#L9
๐ Reproduction steps
In my app I have a list of database entries. With sdk-for-web@13.0.0 the following query works without errors. But with sdk-for-web@15.0.0 an errors occurs.
Looking at the docs nothing has changed regarding the
Query.orderAsc
function: https://appwrite.io/docs/products/databases/order#one-column๐ Expected behavior
Should return an array of objects.
๐ Actual Behavior
GET /v1/databases/lyricly/collections/lyrics/documents?queries%5B0%5D=%7B%22method%22%3A%22orderAsc%22%2C%22attribute%22%3A%22songtitle%22%7D 500 (Internal Server Error)
client.ts:440 Uncaught (in promise) AppwriteException: Server Error at Client. (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=b1d84f26:419:17)
at Generator.next ()
at fulfilled (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=b1d84f26:13:24)
๐ฒ Appwrite version
Version 1.4.9
๐ป Operating system
Linux
๐งฑ Your Environment
No response
๐ Have you spent some time to check if this issue has been raised before?
๐ข Have you read the Code of Conduct?