Back

Migration Error

  • 0
  • Self Hosted
trashcoder
2 Mar, 2024, 20:42

I try the experimental migration function to get the project from one appwrite instance to another. After entering the Endpoint, ProjectID and API-Key i get an error message: "Please check if your credentials are filled in correctly in the previous step". When i open the developer console in Chrome it show another error with an migration uri. When i open this uri in another tab i get this error message: {"message":"<my Email Address> (role: users) missing scope (migrations.write)","code":401,"type":"general_unauthorized_scope","version":"1.4.13"}

How can i fix this or is it still too experimental?

TL;DR
Issue with migration feature in Appwrite 1.4.13. Error message "missing scope (migrations.write)". Ensure correct permissions are set on API key in the Appwrite web console. Additionally, check credentials and ensure they are filled in correctly. It may still be too experimental.
trashcoder
2 Mar, 2024, 20:42

both instances are Appwrite Version 1.4.13

fafa
2 Mar, 2024, 20:44

Hey,

Are you using a server sdk? With an API Key?

If so, make sure to set the correct permissions on that key.

trashcoder
2 Mar, 2024, 20:44

No, i'm in the appwrite web console.

trashcoder
2 Mar, 2024, 20:45
fafa
2 Mar, 2024, 20:45

Ah, I misread!

fafa
2 Mar, 2024, 20:45

Yeah, the API Key, make sure it has enough permissions

fafa
2 Mar, 2024, 20:45

that's usually the cause

trashcoder
2 Mar, 2024, 20:46
trashcoder
2 Mar, 2024, 20:46

the API key has all permissions granted

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more