You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "Rod Simpson (JIRA)" <ji...@apache.org> on 2014/02/11 04:08:19 UTC

[jira] [Closed] (USERGRID-39) Funky error message when I create a role without a name

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

Rod Simpson closed USERGRID-39.
-------------------------------


> Funky error message when I create a role without a name
> -------------------------------------------------------
>
>                 Key: USERGRID-39
>                 URL: https://issues.apache.org/jira/browse/USERGRID-39
>             Project: Usergrid
>          Issue Type: Bug
>          Components: Stack
>            Reporter: Rod Simpson
>
> "{code} 
> $ curl -X POST -d '{}' https://api.usergrid.com/fdsafdsa/test/roles 
> {""error"":""illegal_argument"",""timestamp"":1354142915950,""duration"":0,""exception"":""java.lang.IllegalArgumentException"",""error_description"":""[Assertion failed] - this argument is required; it must not be null""} 
> {code} 
> See the output of Ò[Assertion Failed]Ó instead of a nice error message saying a name is required for roles."



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)