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)

Reply via email to