After upgrading to 1.8.0, I ran the starter_for_flutter and tested the ping. It failed with a "Server Error". I tried this again on my production instance (1.6.1) and it failed with a "Invalid document structure: Unknown attribute: pingCount".
I can't find anything in the docs. Is this a known issue?
1.8.0 results:
TypeScript
{
"message": "Server Error",
"code": 500,
"type": "general_unknown",
"version": "1.8.0",
"file": "/usr/src/code/vendor/utopia-php/database/src/Database/Database.php",
"line": 4896,
"trace": [
{
"file": "/usr/src/code/vendor/utopia-php/database/src/Database/Adapter.php",
"line": 385,
"function": "Utopia\\Database\\{closure}",
"class": "Utopia\\Database\\Database",
"type": "->",
"args": []
},
{
"file": "/usr/src/code/vendor/utopia-php/database/src/Database/Database.php",
"line": 1214,
"function": "withTransaction",
"class": "Utopia\\Database\\Adapter",
"type": "->",
"args": [
{}
]
},
{
"file": "/usr/src/code/vendor/utopia-php/database/src/Database/Database.php",
"line": 4730,
"function": "withTransaction",
"class": "Utopia\\Database\\Database",
"type": "->",
"args": [
{}
]
},
{
"file": "/usr/src/code/app/controllers/general.php",
"line": 1584,
"function": "updateDocument",
"class": "Utopia\\Database\\Database",
"type": "->",
"args": [
{
(...trimmed...)
1.6.1 result:
TypeScript
{
"message": "Invalid document structure: Unknown attribute: \"pingCount\"",
"code": 400,
"type": "document_invalid_structure",
"version": "1.6.1"
}
TL;DR
Issue: After upgrading to version 1.8.0, developers are experiencing errors with the `client.ping()` function showing "Server Error" or "Unknown attribute: pingCount". This problem was also seen in version 1.6.1.
Solution: The issue may be related to changes in the document structure between versions. Check the documentation for any changes or consult with the framework's support for assistance on resolving this problem.Recommended threads
- THE COLUMNS STUCK ON PROCESSING HOW DO I...
I HAVE SELF HOSTED THE APPWRITE ON VPS
- Bug report: Race condition in Flutter SD...
Hi team, I've found an intermittent bug in the Flutter SDK (v20.3.0) when using `createOAuth2Session` on Android. **Symptoms** After `createOAuth2Session` re...
- Impossible to create project via CLI?
Is it possible to create a new project via the appwrite CLI ? I need to create a few projects for something I'm working on and because i don't want to do it man...