
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
- Exposing project id and endpoint on GitH...
Is it best practice to expose your project id and endpoint in your appwrite.js file when publishing an NextJS or Angular project. If you use a .env file, that i...
- Insights🐛 Bug Report: Missing Tables AP...
Hi. First time appwrite user. i'm building a new mobile app with react-native & expo and decided to use appwrite as a tech for this app. i found the react-nativ...
- CSV Import Shows Success but Data Not Ap...
I tried importing a CSV file into my PRODUCTS collection. The dashboard shows the message “Import to PRODUCTS completed successfully,” but no data appears in th...
