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

Michael Russo updated USERGRID-66:
----------------------------------
    Affects Version/s: 2.1.0
                       2.1.1

> If you pass something that's not a cursor as a cursor, the error is unclear
> ---------------------------------------------------------------------------
>
>                 Key: USERGRID-66
>                 URL: https://issues.apache.org/jira/browse/USERGRID-66
>             Project: Usergrid
>          Issue Type: Story
>          Components: Stack
>    Affects Versions: 2.1.1, 2.1.0
>            Reporter: Rod Simpson
>
> "Could be good to throw a more explicit message if the cursor is not a proper 
> cursor, right now what you get is: 
> {code} 
> $ curl 
> ""https://api.usergrid.com/fdsafdsa/fdsafdsa/users/cda9a76b-27a9-11e2-af61-02e81ac5a17b/activities?access_token=YWMt1bl1ZSkGEeK7GwLoGuZA3AAAATrhOhO2froihx8j9EV0IglcKE1VEbjlDOI&cursor=-1828858624%3AgGkAAQMAgGkABgE62D086wCAdQAQ65zcjihwEeKyygLoGuZA3ACAdQAQ66NFMShwEeKyyAA&limit=10"";
>  
> {""error"":""h_invalid_request"",""timestamp"":1352315206549,""duration"":0,""exception"":""me.prettyprint.hector.api.exceptions.HInvalidRequestException"",""error_description"":""InvalidRequestException(why:Not
>  enough bytes to read value of component 3)""} 
> {code}"



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

Reply via email to