{"action":"opened","issue":{"url":"https://api.github.com/repos/basho/riak_cs/issues/1127","labels_url":"https://api.github.com/repos/basho/riak_cs/issues/1127/labels{/name}","comments_url":"https://api.github.com/repos/basho/riak_cs/issues/1127/comments","events_url":"https://api.github.com/repos/basho/riak_cs/issues/1127/events","html_url":"https://github.com/basho/riak_cs/issues/1127","id":70157778,"number":1127,"title":"Create admin user","user":{"login":"jondeandres","id":122581,"avatar_url":"https://avatars.githubusercontent.com/u/122581?v=3","gravatar_id":"","url":"https://api.github.com/users/jondeandres","html_url":"https://github.com/jondeandres","followers_url":"https://api.github.com/users/jondeandres/followers","following_url":"https://api.github.com/users/jondeandres/following{/other_user}","gists_url":"https://api.github.com/users/jondeandres/gists{/gist_id}","starred_url":"https://api.github.com/users/jondeandres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jondeandres/subscriptions","organizations_url":"https://api.github.com/users/jondeandres/orgs","repos_url":"https://api.github.com/users/jondeandres/repos","events_url":"https://api.github.com/users/jondeandres/events{/privacy}","received_events_url":"https://api.github.com/users/jondeandres/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-22T15:21:43Z","updated_at":"2015-04-22T15:21:43Z","closed_at":null,"body":"Hi, I'm having problems creating the admin user. I've tried it with a json payload or xml payload.\r\n\r\nResults:\r\n\r\n```shell\r\n# JSON\r\n$ curl -H 'Content-Type: application/json' -XPOST http://localhost:8080/riak-cs/user --data '{\"email\":\"jon@rollbar.com\", \"name\":\"jon\"}'\r\n<html><head><title>500 Internal Server Error</title></head><body><h1>Internal Server Error</h1>The server encountered an error while processing this request</body></html>\r\n```\r\n```shell\r\n# XML\r\n~$ curl -H 'Content-Type: application/xml' -XPOST http://localhost:8080/riak-cs/user --data '<email>jon@rollbar.com></email><name>jon</name>'\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?><Error><Code>ServiceUnavailable</Code><Message>The email address you provided is not a valid.</Message><Resource>/riak-cs/user</Resource><RequestId></RequestId></Error>\r\n```\r\n\r\nDo you have any idea about this?"}}