
I am using GraphQL queries in lots of places in my app. An example:
const usersProfile: IQueryDatabasesDocumentsResponse = await graphql.query({
query: `
query GetAccountByDisplayName($queries: [String!]!) {
databasesListDocuments(
databaseId: "${DATABASE_ID}"
collectionId: "${getCollectionId(CollectionNames.USER_PROFILE)}"
queries: $queries
) {
total
documents {
_id
data
}
}
}`,
variables: {
queries: [Query.equal("user_id", userId)]
}
});
These have worked fine on Cloud 1.4, but now I am getting syntax errors everywhere. "AppwriteException: Invalid query: Syntax error"
Please urgently suggest a solution to resolve these errors.

What version of the sdk are you using?

Was using "appwrite": "^13.0.2",
and have just updated to "appwrite": "^14.0.1",

and you're still experiencing issues with 14.0.1?

Yes, same erorrs
Recommended threads
- Hola equipo de soporte,
Hola equipo de soporte, Estoy desarrollando una Function en Appwrite Cloud con Node.js 22 y el siguiente package.json: { "name": "upload-whitelist", "type"...
- Looking for Partner
I'm looking for partner for long-term collaborating. Of course, I'll pay for you. If you are interested, Please DM me.
- Issue - Migration From Cloud > Self Host...
Hi team, I’m trying to migrate a few of my Appwrite projects from the cloud to a self-hosted instance. These projects are currently in “archive mode” due to th...
