User invite doesnt work umbraco 16.0.0

Hi ,

I’m experiencing an issue when trying to invite users in Umbraco 16.

What I’m doing:

  • Navigating to the Users section.
  • Clicking Create > Invite User.

The problem:

After clicking Send Invite, I get this error:

chrome: console: Failed to load resource: the server responded with a status of 500 ()

This localhost page can’t be found

No webpage was found for the web address: https://localhost:44340/umbraco/management/api/v1/user/invite

What I’ve tried:

  • SMTP config tested with Papercut SMTP:
"Umbraco": {
  "CMS": {
    "Global": {
      "Smtp": {
        "From": "noreply@localhost",
        "Host": "localhost",
        "Port": 25,
        "Username": "",
        "Password": ""
      }
    }
  }
}

Did you have a look in the log to see if it shows more details?
And also try to read this:

hi jesper,
thanks for the taking time ,I’ll make sure to format the issue properly following the forum guidelines

Yes, I did check the logs but didn’t find a very clear stack trace, just a generic server error.

Getting 404 for https://localhost:44340/umbraco/management/api/v1/user/invite is expected.
You should still be able to see the endpoint listed under /umbraco/swagger (if running in debug mode) though.

Have you tried running the SMTP healthcheck under services?

1 Like

The issue was with the placement of the SMTP settings in my config. Once I put them in the correct place, the invite worked. Thanks

1 Like