Skip to content
Back

AppwriteException: Invalid query: And queries can only contain filter queries

  • 0
  • Functions
upnorth
15 Oct, 2024, 15:03

Is this a new breaking change to how we can use the Query strings?

TL;DR
Pagination limit and offset must be included as filter queries within an and-query in the Query strings to avoid the AppwriteException: Invalid query error. Make sure to adjust the code accordingly and stay updated on any future changes.
upnorth
15 Oct, 2024, 15:10

I moved my pagination limit/offset Queries outside of the and-query and everything worked as expected after that. But you need to alert us well in advance for changes like these so that we have time to adjust our code πŸ˜›

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more