
I have this error ```html Error 401 This domain is not connected to any Appwrite resource yet. Please configure custom domain or function domain to allow this request.
Type
general_access_forbidden ```

The migration was from cloud to self-hosted?

self

Self-hosted to cloud?

to v1.4.9

Self-hosted

So you mean you upgraded it

The error usually appears when you enter invalid credentials or an account different from the main one to access console so you don't have access to such project

Ahh! So how to change credential ? because when I tip "appwrite init project and choose ==>Link this directory to an existing Appwrite project<==" It show the same error

It work in cloud 👏 but not in Self-hosted 🥺 .
When I switch my endpoint from "appwrite client --endpoint http://localhost/v1" to "appwrite client --endpoint https://cloud.appwrite.io/v1" then link an project id using "appwrite projects get --projectId <PROJECT_ID>".

All worked before my migration from 1.4.7 to 1.4.9

DONE

Run the
appwrite login
command

Its okay <:appwritefire:823999000330895380> . But now I get domain Error


Try using the instance IP instead of localhost

Is _APP_DOMAIN
in your .env file set correctly?

I Just fix it. It work

What was the solution?

_APP_DOMAIN_FUNCTIONS=localhost

update function domain

Great!

[SOLVED] My Appwrite Doesn't Work After My Migration
Recommended threads
- 1.7.0 Self Hosted Upgrade
Hi, I've tried a fresh install on 1.7.0 and I've also done a fresh install on 1.6.2. 1.6.2 is working fine fresh, update to 1.7.0 and migrate fails Fresh inst...
- Functions not work on Server only Localh...
Hi, I successfully upgraded from 1.4 to 1.7, but I'm having a problem. The functions no longer work with the settings I had. I assume some changes were made. It...
- Console Login after upgrade
Hi, running a small instance self hosted, upgraded from 1.6.0 to 1.74 this morning before spotting the migration guide... When trying to login to the console n...
