Back

Getting Invalid Query exception after upgraded appwrite to 14.0.0 from 13.0.2

  • 0
  • Databases
  • Web
  • Cloud
Mihir
15 Apr, 2024, 20:35

After upgrading to latest version, I am started getting this error. How to fix it? I want to use the latest version to use the Query.Contains

TypeScript
AppwriteException: Invalid query: {"method":"equal","attribute":"accountId","values":["xxxxxxxxxxxx"]}
TL;DR
Appwrite developers are experiencing an Invalid Query exception after upgrading their app to version 14.0.0. The issue arises because Appwrite Cloud is currently in version 1.4.14, while version 14.0.0 requires 1.5 which is not available in cloud yet. Solution: Downgrade to version 13.0.2 to resolve the error and be able to use `Query.Contains`.
Ryan
15 Apr, 2024, 20:38

Are you using Appwrite Cloud or self hosting?

D5
15 Apr, 2024, 20:42

From what I understand you're using cloud. Consequently, as cloud is currently in the version 1.4.14, you need to use the version 13.0.2 since the version 14.0.0 only works with 1.5 that is not available in cloud yet

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