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
- Project in AppWrite Cloud doesn't allow ...
I have a collection where the data can't be opened. When I check the functions, there are three instances of a function still running that can't be deleted. The...
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...
- Deploy function not working - 503
Hellon i get this error message, when i try to deploy a new version of a function <html><body><h1>503 Service Unavailable</h1>No server is available to handle...