I migrate one of my appwrite projects using migrations. New fresh install, parity on .env, after 20 seconds or so in DevTools / Network I see a 401:
{"message":"<my user email> (role: users) missing scope (migrations.write)","code":401,"type":"general_unauthorized_scope","version":"1.6.0"}
on GET request to
target server/v1/migrations/appwrite/
Any suggestions? Earlier in the day it's been working with source system when I tried to test migrations on a quick localhost (dev machine) fresh appwrite install, but when I try to do it now, it doesn't work either. Banging my head...
TL;DR
Migration from self-hosted to self-hosted fails with 'user missing scope migrations:write' error. The issue occurs during GET request to `target server/v1/migrations/appwrite/` with a 401 error. The user lacks the migration.write scope. A suggested solution is to ensure the correct user role and scope are set up for migrations to work properly.