[ 
https://issues.apache.org/jira/browse/USERGRID-39?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13897491#comment-13897491
 ] 

Rod Simpson commented on USERGRID-39:
-------------------------------------

Malaka,

I ran the call as well and got this error in response:

{"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

I think this is good enough and will close the ticket.  This must have been 
improved since the error was originally reported.  Thank you for looking into 
it!

Rod


-- 
rod simpson

On February 6, 2014 at 11:58:36 AM, Malaka Mahanama (JIRA) ([email protected]) 
wrote:


[ 
https://issues.apache.org/jira/browse/USERGRID-39?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13893658#comment-13893658
 ]  

Malaka Mahanama commented on USERGRID-39:  
-----------------------------------------  

Hi Rod,  

I tried the following:  
curl -X POST -d '{}' https://api.usergrid.com/test-organization/test-app/roles  
{"error":"web_application","timestamp":1391712314431,"duration":0,"exception":"javax.ws.rs.WebApplicationException"}
  

Could you please let me know what step I am missing to reproduce the error.  
This looks like a good first bug to attempt :)  

Regards,  
Malaka  




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


> 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