[
https://issues.apache.org/jira/browse/USERGRID-39?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rod Simpson resolved USERGRID-39.
---------------------------------
Resolution: Invalid
{"error":"illegal_argument","timestamp":1392087764141,"duration":0,"exception":"java.lang.IllegalArgumentException","error_description":"[Assertion
failed] - this argument is required; it must not be null"}r
Error has been improved since it was originally reported.
> 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)