retr122Original post
Rank 3: Container
Hello! I tried to use my connected custom domain to setup user verify email link but received an error. In my Android code, i send request to verification: ``` account.createVerification("https://appwrite.quizop.net",
new CoroutineCallback<>((result3, error3) -> {
if (error3 != null) {
Log.e("ErrorMessage", error3.getMessage());
ExceptionHandler handler = new ExceptionHandler(SetupActivity.this.getApplicationContext());
runOnUiThread(new Runnable() {
@Override
public void run() {
handler.showToast(error3.getMessage());
}
});
error3.printStackTrace();
return;
}
runOnUiThread(new Runnable() {
public void run() {
setContentView(R.layout.setup_email_verification);
}
});
Log.e("User", currentUser.getPrefs().getData().toString());
}));` But received this error `io.appwrite.exceptions.AppwriteException: Invalid `url` param: URL host must be one of: localhost, cloud.appwrite.io, appwrite.io``` I added my domain in settings. Why i received error?
Summary
Developers encountered an error when trying to use a custom domain for user email verification. The error message suggests the URL host must be one of the specified options like localhost or appwrite.io, even though the custom domain was added in settings.