Hi all the Migration of 1.5.4 to 1.5.5 thows this error after calling migration:
TypeScript
Migrating Collection cache:
100 / 685
200 / 685
300 / 685
400 / 685
500 / 685
Fatal error: Uncaught Utopia\Database\Exception\Query: Invalid query: Invalid cursor: UID must contain at most 36 chars. Valid chars are a-z, A-Z, 0-9, and underscore. Can't start with a leading underscore in /usr/src/code/vendor/utopia-php/database/src/Database/Database.php:4694
Stack trace:
#0 /usr/src/code/src/Appwrite/Migration/Migration.php(222): Utopia\Database\Database->find(Object(Utopia\Database\Document), Array)
#1 /usr/src/code/src/Appwrite/Migration/Migration.php(172): Appwrite\Migration\Migration->documentsIterator('cache')
#2 [internal function]: Appwrite\Migration\Migration->Appwrite\Migration\{closure}(Array, Array)
#3 {main}
thrown in /usr/src/code/vendor/utopia-php/database/src/Database/Database.php on line 4694
It looks like appwrite and the webpage accessing it are working. Can I ignore this, because it is the cache?
thanks
TL;DR
Migration from version 1.5.4 to 1.5.5 is throwing an error related to an invalid query and cursor. The error points to an issue in the code that handles database queries. You should not ignore this issue, as it may lead to unexpected behavior in the future. Check the code to ensure that the UID conforms to the specified format.1.5.5 Migration thows Error Invalid query: Invalid cursor:
Recommended threads
- Failed to generate functions SSL
```appwrite-worker-certificates | Cannot renew domain (functions.domain.com) on attempt no. 9 certificate: Failed to verify domain DNS records. appwrite-worker...
- Dart 3.10 runtime on self-host 1.8.1
I added dart-3.10 runtime in .env file, applied the changes, but cannot see such option on console. is dart 3.10 not supported by self hosted 1.8.1? if not, whe...
- Guideline of AI
Hello everyone, I’m planning to specialize in Artificial Intelligence (AI) and I’m currently looking for guidance from someone with strong experience in the fi...