Can't add user: invite not found

I log on grafana by admin and then I want to add user as below:

  1. click ‘invite’
  2. write into user info;
  3. click ‘submit’
  4. click ‘copy pendings’
  5. copy invite
  6. paste copied link and go to: invite not found

so what is the problem? and shall I add user by code on grafana server?

what version of grafana are you using? I believe this UI has changed slightly.

You can also add a user form the command line using the http api:

curl -X POST -H "Content-Type: Application/json" -d "{ \"name\": \"foo\", \"email\":\"foo@foo.com\", \"login\":\"foo\", \"password\":\"foobarbaz\", \"OrgId\": 1 }" http://admin:admin@community.grafana.com/api/admin/users | jq ‘.’

Hi ,can u explain how to do this step