User Registration Fails with "URL can't be used to verify registered users" Error

I’m trying to enable public user registration in Directus but getting an error when users attempt to register. The error occurs specifically with the email verification URL configuration.

{
  "errors": [{
    "message": "Invalid payload. URL \"http://localhost:4040/api/auth/verification\" can't be used to verify registered users.",
    "extensions": {
      "reason": "URL \"http://localhost:4040/api/auth/verification\" can't be used to verify registered users",
      "code": "INVALID_PAYLOAD"
    }
  }]
}
```

What I’ve Already Tried

  1. :white_check_mark: Enabled public registration in Directus settings

  2. :white_check_mark: Configured domain in verification_url environment variable

  3. :white_check_mark: Set up email configuration with Resend SMTP

  4. :white_check_mark: Followed the official documentation for user registration setup

I'm running Directus locally via Docker Compose and trying to enable public user registration, but getting an error when users attempt to register. The error occurs specifically with the email verification URL configuration.

Do you have the "USER_REGISTER_URL_ALLOW_LIST List of URLs that can be used as verification_url in the /users/register endpoint." set to allowed url? https://directus.io/docs/configuration/security-limits

Yes, I did. This error was logged by console ninja { status: 400, url: 'http://localhost:8055/users/register', method: 'POST', response: 'PRO FEATURE ONLY', request: 'PRO FEATURE ONLY' } Though, i find a way to walk around it. THANK YOU :-)