Hi Dakshika, Still the same fate.
On Thu, Dec 11, 2014 at 12:00 PM, Dakshika Jayathilaka <daksh...@wso2.com> wrote: > Try with this > > curl -X POST -H "Content-Type: application/json" -d @request -k -v -u > admin:admin https://localhost:9443/api/v4.1/tenants > > *Dakshika Jayathilaka* > Software Engineer > WSO2, Inc. > lean.enterprise.middleware > 0771100911 > > On Thu, Dec 11, 2014 at 11:46 AM, Udara Liyanage <ud...@wso2.com> wrote: > >> Hi, >> >> I got errors when creating a tenant using REST API. I remember this kind >> of error is fixed sometime back. >> >> curl -X POST -H "Content-Type: application/json" -d @request -k -v -u >> admin:admin https://localhost:9443/api/tenants >> >> {"Error":{ "errorCode": " 500", "errorMessage": " Internal server error"}} >> >> Backend Error log : >> >> [2014-12-11 11:43:39,865] WARN {org.apache.cxf.jaxrs.utils.JAXRSUtils} - * >> No >> message body reader has been found for request class TenantInfoBean, >> ContentType : application/json.* >> >> >> -- >> >> Udara Liyanage >> Software Engineer >> WSO2, Inc.: http://wso2.com >> lean. enterprise. middleware >> >> web: http://udaraliyanage.wordpress.com >> phone: +94 71 443 6897 >> > > -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897