In addition, the correct field name should be "email", not name.

http://docs.basho.com/riak/cs/2.1.1/cookbooks/configuration/riak-cs/#specifying-the-admin-user

On Tue, May 2, 2017 at 6:01 AM, Luke Bakken <[email protected]> wrote:
> Hi Henry,
>
> In the JSON you provided, "name" is followed by a semicolon. Is this a
> typo? If not, that could be the cause of the error.
>
> --
> Luke Bakken
> Engineer
> [email protected]
>
>
> On Mon, May 1, 2017 at 10:26 AM, Henry- Norbert Cocos
> <[email protected]> wrote:
>> Hello,
>>
>>
>> I'm trying to run Riak CS on a RPI 3. I got it compiled and running, but now
>> i'm having troubles.
>>
>>
>> I already changed the necessary attributes in the riak-cs.conf. I set up
>> stanchion, riak kv and riak cs.
>>
>> The attributes i changed include anonymous_user_creation=on and
>> admin.listener=<my_ip>:8000.
>>
>> I wanted to know, if there is a different way to create an admin user or is
>> there something wrong in the way i'm trying to create the user.
>>
>> Everytime i run the following command i get the following error:
>>
>> curl -v -H 'Content-Type: application/json' -XPOST
>> http://<my_ip>:8000/riak-cs/user --data '{"name";"[email protected]",
>> "name":"adminuser"}'

_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to