[ 
https://issues.apache.org/jira/browse/COUCHDB-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15322886#comment-15322886
 ] 

ASF GitHub Bot commented on COUCHDB-3031:
-----------------------------------------

Github user eiri closed the pull request at:

    https://github.com/apache/couchdb-couch-mrview/pull/47


> Multi-query for views with the complex keys throws 400
> ------------------------------------------------------
>
>                 Key: COUCHDB-3031
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-3031
>             Project: CouchDB
>          Issue Type: Bug
>            Reporter: Eric Avdey
>
> For the views with complex keys (e.g. array) the multi-query request ( 
> {{POST}} on {{/db/_design/ddoc/_view/view}} with payload like {noformat} 
> {'queries': [{'startkey': ['a', 'et '], 'endkey': ['blanditiis', 
> 'voluptatem']}, ... } {noformat}  returns {noformat} 
> {"error":"bad_request","reason":"invalid UTF-8 JSON"} {noformat}
> When startkey and endkeys are presented as stringified JSON the request is 
> coming through, but multi_query_view/5 throws the following exception
> {code}
> [error] req_err(515264238) badrecord : vacc
>     [<<"chttpd_view:multi_query_view/5 L37">>,
>      <<"chttpd:process_request/1 L293">>,
>      <<"chttpd:handle_request_int/1 L229">>,
>      <<"mochiweb_http:headers/6 L122">>,<<"proc_lib:init_p_do_apply/3 L240">>]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to