Hi Saneth, Error says that it is a casting error in JSONObject/JSONArray. When you create APIs with the jaggery APIs(using curl) APIM gets the API object and create the swagger manually. I will look into this issue and update the JIRA.
Thanks, Madusanka On Fri, May 8, 2015 at 3:41 PM, Saneth Dharmakeerthi <sane...@wso2.com> wrote: > Hi APIM Team, > > I am getting error [1] when update the resource throttling of a API which > was created using curl command [2] in APIM 1.9.0 SNAPSHOT. > I have reported JIRA [3] to track this issue. > > [1] > > Screen Shot 2015-05-08 at 2.57.56 PM.png > <https://docs.google.com/a/wso2.com/file/d/0B2mfjA37km5USWJ3SDdIWGRCU1U/edit?usp=drive_web> > > [2] > curl -X POST -b cookies > http://localhost:9763/publisher/site/blocks/item-add/ajax/add.jag -d > "action=addAPI&name=YoutubeFeeds&visibility=public&version=1.0.0&description=Youtube > Live > Feeds&endpointType=nonsecured&http_checked=http&https_checked=https&&wsdl=&tags=youtube,gdata,multimedia&tier=Silver&thumbUrl= > http://www.10bigideas.com.au/www/573/files/pf-thumbnail-youtube_logo.jpg&context=/youtube&tiersCollection=Gold&resourceCount=0&resourceMethod-0=GET&resourceMethodAuthType-0=Application&resourceMethodThrottlingTier-0=Unlimited&uriTemplate-0=/*" > -d'endpoint_config={"production_endpoints":{"url":" > http://gdata.youtube.com/feeds/api/standardfeeds > ","config":null},"endpoint_type":"http"}'; > > [3] https://wso2.org/jira/browse/APIMANAGER-3530 > > Thanks and Best Regards, > > Saneth Dharmakeerthi > Senior Software Engineer > WSO2, Inc. > Mobile: +94772325511 > -- *Madusanka Premaratne* | Associate Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 835 70 73| Work: +94 112 145 345 Email: madusan...@wso2.com | Web: www.wso2.com [image: Facebook] <https://www.facebook.com/maduzanka> [image: Twitter] <https://twitter.com/rmmpremaratne> [image: Google Plus] <https://plus.google.com/u/0/+MadusankaPremaratnemaduz/about/p/pub> [image: Linkedin] <http://lk.linkedin.com/in/madusanka/> [image: Instagram] <http://instagram.com/madusankapremaratne> [image: Skype] <http://@rmmpremaratne>
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev