[riak-user]bad_utf8_character_code while list the keys for a bucket

Luke Bakken lbakken at basho.com
Mon Feb 23 13:29:15 EST 2015


Hi Sean,

Is the solution presented here applicable to your situation?

http://lists.basho.com/pipermail/riak-users_lists.basho.com/2014-October/016143.html
--
Luke Bakken
Engineer
lbakken at basho.com


On Fri, Feb 20, 2015 at 6:11 AM, SeanProtain <barcojie at hotmail.com> wrote:
> Dear All,
>
> When I try to list the keys in my bucket I got following error, but if I
> query objects under this bucket with a specific key I can get correct
> object.
>
>>curl http://10.0.3.245:10018/buckets/users/keys?keys=true
>
> <html><head><title>500 Internal Server
> Error</title></head><body><h1>Internal Server Error</h1>The server
> encountered an error while processing this
> request:<br><pre>{error,{exit,{ucs,{bad_utf8_character_code}},
>              [{xmerl_ucs,from_utf8,1,[{file,"xmerl_ucs.erl"},{line,185}]},
>               {mochijson2,json_encode_string,2,
>                           [{file,"src/mochijson2.erl"},{line,186}]},
>               {mochijson2,'-json_encode_array/2-fun-0-',3,
>                           [{file,"src/mochijson2.erl"},{line,157}]},
>               {lists,foldl,3,[{file,"lists.erl"},{line,1248}]},
>               {mochijson2,json_encode_array,2,
>                           [{file,"src/mochijson2.erl"},{line,159}]},
>               {mochijson2,'-json_encode_proplist/2-fun-0-',3,
>                           [{file,"src/mochijson2.erl"},{line,167}]},
>               {lists,foldl,3,[{file,"lists.erl"},{line,1248}]},
>               {mochijson2,json_encode_proplist,2,
>
> [{file,"src/mochijson2.erl"},{line,170}]}]}}</pre><P><HR><ADDRESS>mochiweb+webmachine
> web server</ADDRESS></body></htm
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>




More information about the riak-users mailing list