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 paused?
Hello, I have two Appwrite projects and I can not resume them for some reason. I'm using the free plan, and I saw in the pricing page that 2 free projects are a...
- Python TablesDB Rework
Hi, i starting to rework some older functions to TablesDB list_rows Method. I used list_documents with a resultset with worked fine. Now i tried to get all rows...
- HUGE OUTRAGE IN APPWRITE, I CANNOT ACCES...
I have 2k users trying to access, sending me messages. What am I supposed to do? Please solve this asap.