
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
- how many Teams can be created?
I am creating an app where I will let users create groups. This could mean there will be many groups created by user, to isolate those groups properly I am thin...
- android kotlin error updatePhone
package vasu.apps.schooldashboard.Services import android.util.Log import io.appwrite.Client import io.appwrite.ID import io.appwrite.exceptions.AppwriteExcept...
- Cannot create a user
Hi, I am using a lowcoder frontend and trying to create a user in Appwrite (python function). Unfortunately, all I got is an error: "Raw body: Error". It means...
