You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "Todd Nine (JIRA)" <ji...@apache.org> on 2014/12/04 01:57:12 UTC

[jira] [Created] (USERGRID-262) ES cursor errors should be translated for our users

Todd Nine created USERGRID-262:
----------------------------------

             Summary: ES cursor errors should be translated for our users
                 Key: USERGRID-262
                 URL: https://issues.apache.org/jira/browse/USERGRID-262
             Project: Usergrid
          Issue Type: Bug
          Components: Stack
            Reporter: Todd Nine


When advancing beyond a cursor's end, or passing an invalid cursor, the following error is returned to the user.

{code}
body=
{"error":"elasticsearch_illegal_argument","timestamp":1417654353286,"duration":0,"error_description":"Failed to decode scrollId","exception":"org.elasticsearch.ElasticsearchIllegalArgumentException"}

{code}

We should catch this error, and return a friendlier error message to our users.



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