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/01/28 20:42:38 UTC
[jira] [Created] (USERGRID-39) Funky error message when I create a
role without a name
Rod Simpson created USERGRID-39:
-----------------------------------
Summary: 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)