Hey, I did an initial transfer from cloud to a self-host recently and although most of it worked, there was a failure on my buckets. So I am trying to repeat the process to get the rest of my buckets.
But before I can initiate the migration I keep getting this error: Request failed Please check if your credentials are filled in correctly in the previous step
I've copied the credentials several times without success. Endpoint: https://cloud.appwrite.io/v1 ProjectID: 65186600c6335ac63973 API Key: (I've tried generating a new one, and using the old one that I had used prior successfully).
It just fails everytime. Am I missing something obvious here?
Do you have set all flags for storage access in the API key?
yes both keys I gave all scopes to
What are the logs for the migration regarding this?
Where can I see the logs
I want to use them eventually but I have not yet
No, set it to something but not the same as your other domain env vars
Trigger the credential error doesnt appear to write any logs in appwrite or worker-migrations
Can you try opening the browser dev tools and then reproduce the error? Then check the console and network logs
I cant ever get near that part, this is what I am trying to say. I can never actually start a migration because it says credentials error. That error was just what made my first migration fail (when it would accept my credentials). Everything transfered on that migration except a couple buckets.
Cannot initiate migration due to credential errors
There's some API call that's started and the result returned an error. That's why you see that error message. I'm curious what the error message from that API call is
Ya but I cannot repro because I cannot initiate a migration
I meant reproduce the error you're seeing now
Solved. Ad blocker was blocking the connection. I don't know why it didnt block my first migration as nothing has changed on my browser, but regardless it was definitive when I looked at the network in the browser that it was being blocked by Ad Blocker. I knew it was gonna be something small and stupid. Thanks for all your patience and help Steven and D5
[Solved] Cannot initiate migration due to credential errors
Whoa... interesting revelation...any idea why your ad blocker was blocking it?
This is what is blocked, I dunno what plausible.io is but adblocker ultimate doesn't like it.
This is what it looks like when the call is successful. Maybe analytics of some sort?
That's stats/analytics, so it should not be related to appwrite functionality or affect it
No idea what's growth.appwrite.io, but maybe it's for analytics too?
Anyways it should not affect the request 🤔
I have no idea, but its very easy to reproduce
There should be a /report API call
Recommended threads
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...
- Migrate from cloud to localhost
Hello everyone. I need to migrate my test project from cloud to localhost, however it seems that this is possible only if a self-hosted appwrite instance it's h...