You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to migrate data from my Appwrite Cloud staging project to a VPS Appwrite instance (v1.7.4 using Docker), the migration fails on certain documents with the following error:
Error occurred while pushing 'document:6836f85e00291bbd0757' to destination with message:
'Invalid document structure: Unknown attribute: "$sequence"'
Message: Invalid document structure: Unknown attribute: "$sequence"
File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php
To Reproduce:
Steps to reproduce the behavior:
Create a project on Appwrite Cloud and add some collections/documents.
Set up a fresh local Appwrite instance (v1.7.4 via Docker).
Use the Appwrite migration tool to migrate from cloud to local.
Observe error during the push phase.
The problem is that with the new free tier limitations on Appwrite Cloud, I need to migrate my projects to a local instance before the deadline. However, due to this bug, it's currently impossible for me to do so.
👍 Expected behavior
Migration should complete successfully without schema validation errors.
👎 Actual Behavior
The document in question seems to include a $sequence field which is likely internal to Appwrite Cloud but not supported in the local self-hosted version.
Possibly the migration tool is not stripping internal or unsupported fields during the export/import process.
🎲 Appwrite version
Appwrite Cloud
💻 Operating system
Linux
🧱 Your Environment
I use VPS Hostinger with Appwrite template
👀 Have you spent some time to check if this issue has been raised before?
Additionally, projects are now archived because of the new free tier. I hope we won't have to pay to migrate and unarchive them.
And when trying to migrate an archived project, I have : Couldn’t load resources
The API key required for the migration may no longer be valid or has expired, please verify and start migration again.
Activity
Divyansha23 commentedon Aug 5, 2025
Hi, thanks for raising this issue! We are aware of this issue and there's a fix incoming for this.
lucasartsfr commentedon Aug 20, 2025
Thank you for the feedback @Divyansha23
Regarding the plan change from September, do you think the fix will come in time to allow use to migrate before our project being blocked ?
IJustDev commentedon Sep 11, 2025
Hey is there a workaround?
lucasartsfr commentedon Sep 11, 2025
Looks like we have to wait..
Additionally, projects are now archived because of the new free tier. I hope we won't have to pay to migrate and unarchive them.
And when trying to migrate an archived project, I have : Couldn’t load resources
The API key required for the migration may no longer be valid or has expired, please verify and start migration again.
IJustDev commentedon Sep 11, 2025
Maybe we can try to create the $sequence attribute ourselves
IJustDev commentedon Sep 11, 2025
@Divyansha23 any updates on this?
HarshMN2345 commentedon Sep 22, 2026
This works on main now. Closing, but reopen it if you still hit it.