
Hi,
I'm trying to deploy my project. I've added the new hostname with a *. prefix (before with www. but it didn't work as well) as a new platform. But I get the following error, creating a magic link:
AppwriteException: Invalid url
param: URL host must be one of: localhost, appwrite.srv.myserver.com, appwrite.io, *.appwrite.io, *.mydomain.com
at w.<anonymous> (/var/task/.next/server/app/(unprotected)/login/page.js:6:19951)
at Generator.next (<anonymous>)
at o (/var/task/.next/server/app/(unprotected)/login/page.js:6:13166)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
code: 400,
type: 'general_argument_invalid',
response: {
message: 'Invalid url
param: URL host must be one of: localhost, appwrite.srv.myserver.com, appwrite.io, *.appwrite.io, *.mydomain.com',
code: 400,
type: 'general_argument_invalid',
version: '1.5.7'
},
digest: '946394102'
}
Vercel shows me that the hostname is www.mydomain.com
My NEXT_PUBLIC_URL is defined as https://www.mydomain.com
I'm a bit confused as the hostname and the config looks fine?
Recommended threads
- phantom relationships appear on parent c...
i have this bug were my past deleted collection apears as relationship to my parent collection. when i try to delete that relationship from parent it gives me e...
- Attribute stuck on proccessing
i tried creating a new attribute butits stuck on proccessing,i did a hard refresh,cleared cache everything but still stuck on proccessing,also in my functions w...
- Properly contained appwrite main app can...
Hello! We tried to reinstall our main self-hosted appwrite with a new method but the main app 2 mins after launch throw this error: ```2025/06/22 16:16:14 s...
