[ 
https://issues.apache.org/jira/browse/COUCHDB-2250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Shorin closed COUCHDB-2250.
-------------------------------------

    Resolution: Not a Problem

`start_key` and `end_key` are the 
[aliases|http://docs.couchdb.org/en/latest/api/ddoc/views.html#get--db-_design-ddoc-_view-view]
 to `startkey` and `endkey` respectively and available since 1.1.0 release.

> Improve error message: query_parse_error: No rows can match your key range, 
> reverse your start_key and end_key or set descending=true
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: COUCHDB-2250
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2250
>             Project: CouchDB
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Documentation, HTTP Interface
>    Affects Versions: 1.4.0
>            Reporter: Hendy Irawan
>
> The error message is inaccurate:
> {code}
> 400:Bad Request URI: 
> /acme_dev/_design/Checklist/_view/parentId_active_only_by_modificationTime?startkey=%5B%7B%7D%2C%7B%7D%5D&endkey=%5B%7B%7D%5D
>  Response Body: { "error" : "query_parse_error", "reason" : "No rows can 
> match your key range, reverse your start_key and end_key or set 
> descending=true" }
> {code}
> The parameters are called [{{startkey}} and {{endkey}} (without 
> underscore)|http://wiki.apache.org/couchdb/HTTP_view_API].



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to