Hi Manula.

{
      "admin":"admin",
      "firstname":"Frank",
      "lastname":"Myers",
      "adminPassword":"admin123",
      "tenantDomain":"udara.com",
      "email":"f...@bar.com",
      "active":"true"
}


On Thu, Dec 11, 2014 at 11:56 AM, Manula Chathurika Thantriwatte <
manu...@wso2.com> wrote:

> Hi Udara,
>
> Can you post the request JSON which you are using here.
>
> Thanks !
>
> 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
>>
>
>
>
> --
> Regards,
> Manula Chathurika Thantriwatte
> Software Engineer
> WSO2 Inc. : http://wso2.com
> lean . enterprise . middleware
>
> email : manu...@wso2.com / man...@apache.org
> phone : +94 772492511
> blog : http://manulachathurika.blogspot.com/
>
>
>
>


-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897

Reply via email to