Egor TabulaOriginal post
Rank 1: Thread
Hey 👋 I’m running into a migration issue after upgrading Appwrite from v1.6.0 to v1.6.1.
Whenever I try to start an Appwrite → Appwrite migration, either through the Console or using CLI v6.2.2, I get this error:
AppwriteException [Error]: Invalid document structure: Unknown attribute: "destination"
at Client.call (/opt/homebrew/Cellar/appwrite/6.2.2/libexec/lib/node_modules/appwrite-cli/lib/client.js:211:13)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async migrationsCreateAppwriteMigration (/opt/homebrew/Cellar/appwrite/6.2.2/libexec/lib/node_modules/appwrite-cli/lib/commands/migrations.js:115:16) {
code: 400,
response: 'document_invalid_structure'
}
Migrations were working just fine in v1.6.0, and I haven’t made any schema changes that introduce a destination field — it doesn’t exist in any of my collections.
Anyone else experiencing this?
Summary
Issue: Error "Invalid document structure: Unknown attribute: 'destination'" when trying to migrate from Appwrite v1.6.1, though no 'destination' field is in collections.
Solution: The error is due to changes in the Appwrite migration system. Check the Appwrite release notes for v1.6.1 to understand the new document structure expectations. Make necessary adjustments to your migration setup to align with the updated requirements.